Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
chadyo's avatar
chadyo
Explorer
12 years ago

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!

5 Replies

Replies have been turned off for this discussion
  • There's a unity specific forum that might get your more response.
  • The 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.
  • OK 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.
  • Hi 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.