Problems joining a room.

Options
Hey Photonians,

I'm in the process of making a room where players can join by roomName, but I'm having some issues that I'm wondering if anyone has the answer to. I'll create a room with a random name and will try to join that room on a different device and it won't join and call OnJoinRoomFailed.

Here are snippets of how I create/join a room:

Create:
                RoomOptions roomOptions = new RoomOptions();
                roomOptions.IsVisible = false;
                roomOptions.MaxPlayers = maxPlayersPerRoom;
                roomOptions.IsOpen = true;
                PhotonNetwork.CreateRoom("" + Random.Range(10000, 99999), roomOptions, null);

Join:
RoomName is the random number created above.
PhotonNetwork.JoinRoom(roomName, null);

Comments