Keep all instances once the player leaves?
Options
Hello,
I am trying to do a rpg in Unity 3D using PUN and I realized that all instances created (Using PhotonNetwork.Instantiate) by a player dissapear when he disconnects. How can I keep them in the game even if their creator leaves.
Thanks for the help!
Using C#.
I am trying to do a rpg in Unity 3D using PUN and I realized that all instances created (Using PhotonNetwork.Instantiate) by a player dissapear when he disconnects. How can I keep them in the game even if their creator leaves.
Thanks for the help!
Using C#.
0
Best Answer
-
Hi,
Either use PhotonNetwork.InstantiateSceneObject for object creation or set PhotonNetwork.autoCleanUpPlayerObjects to false.5
Answers
-
Hi,
Either use PhotonNetwork.InstantiateSceneObject for object creation or set PhotonNetwork.autoCleanUpPlayerObjects to false.5 -
Thanks!!!0