Search Unity

Help Wanted [PUN2] "Master Computer to VR Headsets" Structure

Discussion in 'Multiplayer' started by PascalTheDog, Aug 26, 2021.

  1. PascalTheDog

    PascalTheDog

    Joined:
    Mar 16, 2015
    Posts:
    48
    Hey. I'm a Unity developer but I'm new to network programing and PUN2, so I apologize if my question doesn't make sense.

    I work for a VR center and we'd need a somewhat peculiar setup: 1. A "master" computer with a console of sorts that solely deals with room management and which is handled by the team, and 2. The actual game installed on individual Oculus Quest 2 headsets where our patrons can only join open rooms and play the game.

    It is my understanding that PUN2 uses two servers: the MasterServer (for matchmaking) and the GameServer (for actual play). I assume that means our central computer will spend most of its time connected to the MasterServer, and our headsets to the GameServer. Is that gonna be a problem when it comes to interactions between the two?

    What would be the best way to achieve the structure we're looking for? Assistance would be greatly appreciated. Cheers!
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    2,686
unityunity