Sometimes creating room is not working
Options
I came up recently with such issue. I am creating a room and joining it. All works just fine. But when I am trying to join random room nothing happens. If I am checking the number of created rooms it tells me that there is none. So the question is how it could possible happen? Thank you for your answers in advance)
0
Answers
-
Have you tried using PhotonNetwork.JoinRandomRoom() ?0
-
Can you please show the code? I can't find any problems when I create rooms0
-
public void createRoom()
{
PhotonNetwork.CreateRoom("testRoom", new RoomOptions { MaxPlayers = 4 });
Debug.Log(PhotonNetwork.CountOfRooms);
}
It is quite simple. Log tells me "0" on that. Actually right now I am able to join room but for some reason PhotonNetwork.CountOfRooms still give me "0"0