Change Master Client on disconnect.


Is it possible to have a Photon Unity Networking (PUN) type functionality in the regular Unity Networking? I mean in PUN, when the MasterClient (who created the room) leaves, one of the other players gets the MasterClient role, so the game can run continuously. In the regular Unity Networking, when the MasterClient leaves, the other players has been kicked out. Is there any workaround to get the same effect?


In UNet, the Master Client is the host. If that machine is no longer part of the session, the remaining players are not connected anymore.

What you are looking for in this case, is Host Migration, which is on the roadmap somewhere but difficult.