When hosting games using the NetworkLobbyManager via the HLAPI Multiplayer Lobby documentation, I’ve notice that when clients disconnect, their player objects are removed but their network lobby player objects are not, even when calling ServerReturnToLobby. Is this intended? And if so, what’s the cleanest way to remove a network lobby player for a disconnecting client?
I followed HLAPI Multiplayer Lobby documentation steps then added an Update method to a NetworkLobbyManager that looks for a key press to call ServerReturnToLobby. If I host a game in the editor, connect as a client in a separate window, ‘ready’ both players to load the game scene, and then close the client application, the disconnecting client’s player object disappears but network lobby player object does not. When I return to the lobby, the network lobby player still remains.
Any help understanding how to approach network lobby player cleanup would be a huge boon to me. Thanks.