Rejoin after disconnect

The players of my online card game occasionally disconnect due to network issues. All of their photonViews (cards) are destroyed. Is there is a way I can somehow preserve these objects so that if a player times out I can reassign them to the player after they rejoin the game?

Comments

  • Setting PhotonNetwork.autoCleanUpPlayerObjects = false before room creation will preserve leaving player objects in scene.
    New joined player can take object ownership with RequestOwnership() call on object's PhotonView (see DemoChangeOwner).
  • Great. Thanks!