Create rooms that players can join

Hey,

so I have a server which uses the NetworkManager to create a server where clients can join. Now I want the players to be able to join rooms within the server. Any pointers where I should start looking? Or any documentation regarding multiple rooms within one server instance? I’m especially interested in correctly relaying messages (I’m using MessageBase objects to sync states).

Cheers,
Martin

Replace NetworkManager by NetworkLobbyManager, if you are lucky enough you won’t have to change your actual code a lot !

NetworkLobbyManager has all the functions you need : regroup players in a lobby (room), wait for them to be ready, then send them all to the game scene…
https://docs.unity3d.com/ScriptReference/Networking.NetworkLobbyManager.html

Everything you have done with NetworkManager should be valid.