libgdx Viewports - Why when I use FitViewport the touch input x and y is not accurate?
Use viewport.unproject() instead of camera.unproject() so the cropping of the FitViewport is taken into acount.
viewport.unproject()
camera.unproject()