Search Unity

How do create a multiplayer VR scene with Oculus?

Discussion in 'AR/VR (XR) Discussion' started by Tezelian, Jun 27, 2018.

  1. Tezelian

    Tezelian

    Joined:
    Oct 22, 2013
    Posts:
    256
    I want to develop an environment where up to 4 different players using their VR headsets can connect into one scene simultaneously, ideally 4 players.

    I did some research and found two packages on the Unity store called 'multiplayer VR kit paintball' and instantVR edge that unfortunately only support the HTC vive with its SteamVR plugin. However I don't have a HTC Vive, only a Oculus Rift.

    Is it difficult to set up multiplayer within VR in Unity using the Oculus? What tutorials can I follow or books can I read, anything that can help me save time and learn rapidly if not what can I do and how can I learn? Are there any plugins from Oculus I can use?

    Regards
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    8,121
    I don't believe platform has anything to do with it. You are trying to make a networked game; the fact that you happen to be making it for Rift doesn't change it at all.

    So, dig into the Networking tutorials and have at it!
     
    Tezelian likes this.
  3. Tezelian

    Tezelian

    Joined:
    Oct 22, 2013
    Posts:
    256
    Yo
    You are correct this is what I will do from now and I also downloaded Photon Unity Networking and will look into that too, thanks so much :)
     
    JoeStrout likes this.
  4. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    558
    Read up the documentation for the Oculus Platform SDK on the oculus developer website. The Platform SDK contains support for this kind of things (like an easy to use P2P network stack, matchmaking, user invites etc) and comes with a unity package to integrate those things in Unity. Only thing is when going that route, you have to work with the Oculus server and people have to be oculus registered users, so this is between Rift, GearVR and Oculus Go only
     
    Salazar and JoeStrout like this.