Skip to main content
New Participant
October 16, 2013

Multiple Oculus?

We're working on a multi-player interactive experience in Unity and wondering if it's possible to use more than one Rift on a single computer?

Upon dropping two prefabs into the project and plugging two Oculus Rifts into the computer, it only seems to pick up one of them. Is this a physical limitation of the way the Oculus integrates with the computer?

Our current solution is to use two computers, with one pulling the head-tracking data and pumping it to the main computer over OSC into the Unity project.

As for 2 on the same computer, vision-wise it's fine. We can create a borderless window that spans both Oculus outputs - it's just the head-tracking data.
    This topic has been closed for replies.

    8 replies

    Up and Coming
    October 16, 2013
    The SDK provides a function to enumerate all devices so you can pick the one you want. Sadly, this doesn't seem to work on Linux (or I'm doing something wrong) as I only see one of the Rifts. Note that I haven't tested this on Mac OS (not enough video ports) or Windows yet.
    In theory it should be possible as long as the Unity integration exposes this.
    Inspiring
    October 16, 2013
    As far as I know, only one Rift can be used on one computer at a time. This is mainly because of the way the tracker works.

    If you are working on a multiplayer game you should use multiple computers and network them together.
    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
    October 16, 2013
    The unity integration could handle multiple Rifts with a little modification. You'll notice that OVRDevice enumerates all of the trackers. The methods that interact with the tracker take a device ID parameter. The OVRCamera always asks for device 0 though. If another OVRCamera was modified to ask for device 1, then it would theoretically be possible to use both. I don't have a second Rift to test this theory though.
    New Participant
    October 17, 2013
    Thanks for your responses all. Cheers for pointing that out Boone. We'll give that a crack when we've got both in the studio again.

    Cheers.
    Up and Coming
    October 17, 2013
    After looking at it again, it looks like OVRDevice.InitSensorList() is just assuming a single Rift. So OVRDevice would also require some modification.
    New Participant
    March 24, 2014
    Has anyone tried this? I'm keen to know if it works.
    Otherwise I'll be doing my own experiments soon and will post results here.
    New Participant
    June 10, 2014
    If anyone is still interested in this, here is a github repo with my modifications to the Oculus SDK to allow 2 rifts to work on one computer.

    https://github.com/DigitalArtsNetworkSydney/DualOculus
    Participant
    February 9, 2015
    Hi everyone.
    Just reopening this subject to answer if anyone get two HMD working in the same PC in Direct Mode?
    Thanks.