Search Issue Tracker
Fixed
Votes
1
Found in
Issue ID
717379
Regression
No
NetworkLobbyPlayer not removed when client disconnects
When a client disconnects from a server using the NetworkLobbyManager, the NetworkLobbyPlayer for that client is not removed from the lobby. The NetworkLobbyPlayer should be destroyed and their slot freed when the client disconnects.
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
alrightX3
May 27, 2018 08:38
So how do I permanently prevent a game room from destroying so that it always appears in the network Lobby List?
erlanter
Aug 04, 2015 20:20
A video in which the behavior is reproduced, in case it helps: https://www.youtube.com/watch?v=mXuoIbnCrN8
erlanter
Aug 04, 2015 18:36
The NetworkLobbyPlayer is destroyed when clients disconnect in the Lobby scene, but NOT when clients disconnect in the Play scene.
When the client disconnects...
* In the Lobby scene, NetworkLobbyPlayer IS removed.
* In the Play scene, NetworkLobbyPlayer IS NOT removed.
If the server returns to lobby with a leftover NetworkLobbyPlayer on client disconnect...
* Returning via StopHost, NetworkLobbyPlayer IS removed.
* Returning via ServerReturnToLobby, NetworkPlayer IS NOT removed.
Hope this helps.