I'm developing an app using Unity3d and the Google Cardboard sdk. I have been trying to get the field of view property for the individual Cardboard cameras. This is working fine in the editor however, when I build it to Android the camera's fieldOfView property appear to be returning the wrong value.
Camera cam = GameObject.FindWithTag("Camera_Left").GetComponent<Camera>();
float fov = cam.fieldOfView;
Is this the correct way to access this?
Any suggestions greatly appreciated!
EDIT
To clarify I don't need to change the FOV. I just need access to a fairly accurate vertical FOV value. I am attempting to calculate the size a game object will appear to the camera using the FOV.