OVR cameras only work in editor
On one project that I'm using an OVRPlayerController on, when I'm in the editor I can see the images from the cameras in the game view. Once I hit play, both cameras go black. If I turn off the camera it shows grey in the game view so I'm assuming that this means the cameras are functioning but not displaying anything. Super frustrating!
I am seeing this error which may be the issue:
!IsMatrixValid (matrix)
UnityEngine.Camera:set_projectionMatrix(Matrix4x4)
OVRCamera:SetPerspectiveOffset(Vector3&) (at Assets/OVR/Scripts/OVRCamera.cs:434)
OVRCameraController:ConfigureCamera(Camera&, Single, Single, Single) (at Assets/OVR/Scripts/OVRCameraController.cs:184)
OVRCameraController:UpdateCameras() (at Assets/OVR/Scripts/OVRCameraController.cs:159)
OVRCameraController:Update() (at Assets/OVR/Scripts/OVRCameraController.cs:107)
I am seeing this error which may be the issue:
!IsMatrixValid (matrix)
UnityEngine.Camera:set_projectionMatrix(Matrix4x4)
OVRCamera:SetPerspectiveOffset(Vector3&) (at Assets/OVR/Scripts/OVRCamera.cs:434)
OVRCameraController:ConfigureCamera(Camera&, Single, Single, Single) (at Assets/OVR/Scripts/OVRCameraController.cs:184)
OVRCameraController:UpdateCameras() (at Assets/OVR/Scripts/OVRCameraController.cs:159)
OVRCameraController:Update() (at Assets/OVR/Scripts/OVRCameraController.cs:107)
