Question by
bean-man · Dec 27, 2021 at 01:18 AM ·
androidcameranot workingfov
Why does changing FOV not work on android?
Hi all, I have a script that simply changes the camera's FOV. It works perfectly on my window's machine in the editor, but when I export it as an .apk it doesn't work and the FOV stays the same without changing?
The code is simply:(start)
cam = Camera.main.GetComponent<Camera>();
then (update)
cam.fieldOfView = fov + zoom;
Where fov + zoom are simply floats being changed by player position. Has anyone encountered something similar? I understand FOV's cant be changed on VR projects, but this isn't VR.
Comment