Forum Discussion
chadyo
12 years agoExplorer
Unity multiplayer development for the Rift
I've been watching tutorials and started making my game multiplayer with photon.
When I'm running my game in multiple instances to test for multiplayer, I have all my player and camera prefabs disabled by default and I reactivate them for the instantiated player only. The player that creates the room works just fine but the next player, the left and right cameras don't respond to the headsets movements and I get the "No Sensor Detected" message.
Is this a result of trying to run 2 instances of the game with one headset? Unfortunately, I only have 1 rift so I really hope I don't need 2: (
Any help would be greatly appreciated! Much thanks!
When I'm running my game in multiple instances to test for multiplayer, I have all my player and camera prefabs disabled by default and I reactivate them for the instantiated player only. The player that creates the room works just fine but the next player, the left and right cameras don't respond to the headsets movements and I get the "No Sensor Detected" message.
Is this a result of trying to run 2 instances of the game with one headset? Unfortunately, I only have 1 rift so I really hope I don't need 2: (
Any help would be greatly appreciated! Much thanks!
5 Replies
Replies have been turned off for this discussion
- jhericoAdventurerThere's a unity specific forum that might get your more response.
- chadyoExplorerHow did I miss that?: )
Thanks - cyberealityGrand ChampionThe Rift will only work with head-tracking for one app at one time. Trying to run multiple apps or multiple Rifts simultaneously is not really supported.
Anyway, moving to the Unity section. - ArowxExplorerOK when a player enters the game you need to add their avatar, but only the local player needs an avatar with Rift enabled settings.
Therefore you should have at least two avatar prefabs, one with the rift for the current player and one without that works as a placeholder for other online players.
But check out the Unity and Photon forums for more help and assistance. - NostalgicBearExplorerHi guys,
Did anyone get this issue resolved in the end? Currently having a similar issue whereby one client seems to work fine, but the other clients are not functioning as we want. We just want to be able to allow multiple OVRControllers to connect and run around via the photon server.
Would greatly appreciate any advice on resolving the issue.
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
- 2 years ago
- 3 years ago