Forum Discussion
MELT
10 years agoHonored Guest
Unity 5.2 Networking and Oculus
Hi guys!
I'm trying to make a simple game for two players on DK2's via LAN. I'm starting with the TANKS Networking demo project ( https://www.assetstore.unity3d.com/en/#!/content/46213 ). I'm on Runtime 0.8, Unity 5.2.2p2, Oculus Utilities 0.1.3.
Up to this point it works on two clients only when one's run from the editor and other from build with the built-in VR and one Main Camera which sets the position for both players' OVR's. I can see only one OVRCameraRig in editor.
The main problem is I can't instantiate the OVR's to desired positions. Whenever I try messing with instantiating or running two client builds, the game doesn't work properly (I either get one client freezed or player 2 takes both player cameras).
I'm enabling VR in the main scene via script (when lobby stuff is done), and have OVRManager out of the OVRCameraRig/Player etc.
Any help appreciated :)
I'm trying to make a simple game for two players on DK2's via LAN. I'm starting with the TANKS Networking demo project ( https://www.assetstore.unity3d.com/en/#!/content/46213 ). I'm on Runtime 0.8, Unity 5.2.2p2, Oculus Utilities 0.1.3.
Up to this point it works on two clients only when one's run from the editor and other from build with the built-in VR and one Main Camera which sets the position for both players' OVR's. I can see only one OVRCameraRig in editor.
The main problem is I can't instantiate the OVR's to desired positions. Whenever I try messing with instantiating or running two client builds, the game doesn't work properly (I either get one client freezed or player 2 takes both player cameras).
I'm enabling VR in the main scene via script (when lobby stuff is done), and have OVRManager out of the OVRCameraRig/Player etc.
Any help appreciated :)
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
- 7 months ago
- 5 months ago