Forum Discussion
IT_USC
9 years agoHonored Guest
OVRPlayerController/OVRCameraRig and Photon
Hello,
We are attempting to use the OVRPlayerController/OVRCameraRig and Photon however upon running the program the camera is hijacked by the host whenever a client joins the session. What can we do to fix this issue?
Thanks
We are attempting to use the OVRPlayerController/OVRCameraRig and Photon however upon running the program the camera is hijacked by the host whenever a client joins the session. What can we do to fix this issue?
Thanks
2 Replies
Replies have been turned off for this discussion
- IT_USCHonored GuestIt seems that moving the OVRManager to a Gameobject that isn't destroyed and then placing the OVRCameraRig in the scene is the answer. You will then disable the OVRCameraRig script and re-enable it on awake. You will need to find the OVRCaneraRig gameobject since it is in the scene though.
OVRCameraRig[] CameraRigs = GameObject.Find("OVRCameraRig").GetComponents<OVRCameraRig>(); - MikeFTrusteeAnother method is to just have everyone's cameras disabled in the player prefab, then only enable for the local client
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
- 2 years ago