Skip to main content
Up and Coming
January 7, 2014

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!
    This topic has been closed for replies.

    5 replies

    Inspiring
    January 7, 2014
    There's a unity specific forum that might get your more response.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    chadyoAuthor
    Up and Coming
    January 7, 2014
    How did I miss that?: )

    Thanks
    Inspiring
    January 7, 2014
    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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    January 13, 2014
    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.
    Up and Coming
    October 27, 2014
    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.