ObjectNet controls all object's life cycles, this means that ObjectNet can detect when an object needs to be destroyed.


The option "Remove player on disconnect" will destroy the player's game object when the player disconnects from the server.




ObjectNet allows to destroy the player after a certain amount of time if disconnection is detected, the option "Remove disconnected after time" enables this feature.


If this option is not flagged, an extra option shall appear to allow to destruction player after a certain amount of time.


This option must be used in case a game allows them to play back on the game after disconnection, when combined with "Custom Network ID" the disconnected player may back to the game and restore the status that they had before disconnected.

 


Note: If both options "Remove player on disconnect" and "Remove disconnected after time" were not flagged, the player object will keep on the scene while the match is not finished or the game is running.