JoinOrCreateRoom failed. Client is not on Master Server or not yet ready to call operations. Wait for callback: OnJoinedLobby or OnConnectedToMaster.

void OnPhotonCreateRoomFailed()
{
Debug.Log(“Can’t join random room!”);
}

Further to check this error i write the code but it’s not working.

PhotonNetwork.LoadLevel(level);

i used this to sync the info between level of death its not working also.

i found on net but where to enter this code.

well you can use OnPhotonRandomJoinFailed (); if that doesnt work its not having to do with a room not being there if it is OnPhotonRandomJoinFailed (); will then create its own room if not one is present at that time