Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Bug: NetworkManager's OnServerDisconnect function is never called for Host

$
0
0
I attached a simple project with 13 lines of code that shows how NetworkManager:OnServerDisconnect is never called when the host disconnects. This is a problem because often game servers need to save player data after the player quits the game. This works fine for clients that connect to the server, because OnServerDisconnect is called when those clients quit the game.

It is however not called when I run the server as host (aka I also play on it) and then stop the...

Bug: NetworkManager's OnServerDisconnect function is never called for Host

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>