Everything is destroyed when master-client exits from a room
Options
Hello, I want to create a random world and I use this example code
void Start () { if (PhotonNetwork.isMasterClient) { OnCreateWorld(); } } public void OnCreateWorld () { PhotonNetwork.Instantiate (element.name, Vector3.zero, Quaternion.identity, 0); }Everything works fine but when the master-client exits from the room, the world is destroyed. How can I maintain the world when the master client exit with other players in the room?
0
Best Answer
-
No worry, I solved it using
PhotonNetwork.InstantiateSceneObject()
0
Answers
-
No worry, I solved it using
PhotonNetwork.InstantiateSceneObject()
0