Disconnection after loadScene
Hello, When i try to load a new scene some time it disconnects me from the room after loading the scene.
My code :
public override void OnJoinedRoom() {
// Debug.Log("Vous etes dans la Room");
PhotonNetwork.LoadLevel("MyGame");
}
-I am using Unity 2020.0f1
-The last version of Pun 2
My code :
public override void OnJoinedRoom() {
// Debug.Log("Vous etes dans la Room");
PhotonNetwork.LoadLevel("MyGame");
}
-I am using Unity 2020.0f1
-The last version of Pun 2
0
Answers
i always do something like this :
room is the roomScript so if your script that contains the room functions is called RoomManagement the room variable will be of type RoomManagement this also applies to the lobby script.
I would recommend to update from 2020.0 to a newer, more stable version of 2020. Maybe you do that and give it another try?