Forum Discussion
jakeleehigh
12 years agoHonored Guest
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)
2 Replies
Replies have been turned off for this discussion
- jakeleehighHonored GuestFixed: After trying everything and finding that the cameras were no longer working in any of my unity projects, I restarted my computer. Now everything works fine. The only thing I can think of is that I had just downloaded and ran the hydra tuscany example. In order for that to work I had to also download and run the motion creator for hydra. My thought is that the motion creator may have been messing with the other projects... not sure. But at least its working now.
- petergiokarisProtegeJake,
Glad that it's working for you again. I will keep my eyes out for this issue.
Best,
Peter
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago
- 8 months ago
- 11 months ago
- 11 months ago
- 4 months ago