When the connection is lost, the player is destroyed from the game scene.
I don't want the player to destroy when the connection is lost and when the player reconnects to the game, player does not spawn at the last location.
![giphy.gif]()
I don't want the player to destroy when the connection is lost and when the player reconnects to the game, player does not spawn at the last location.

PhotonNetwork.ReconnectAndRejoin();I am reconnecting to the game with this code.
options.CleanupCacheOnLeave = false; options.PlayerTtl = 50000; options.EmptyRoomTtl = 50000;some of the settings of the room