- Home /
Question by
mariappan001 · Apr 01, 2021 at 10:20 AM ·
c#unityeditorphotonpun
I am developing a PUN Realtime project. I am having issues with players joining room.
The players will join a random room at the start of the game but when I check the current players in the game it shows as 0. Here is my code
void IMatchmakingCallbacks.OnJoinedRoom() { Debug.Log("OnJoinedRoom"); Debug.Log("Game can start now"); PhotonNetwork.LoadLevel("Scene_Main"); Debug.Log(PhotonNetwork.PlayerList.Length); }
Comment