Join room in specific lobby
TypedLobby lobby = new TypedLobby("*", LobbyType.Default); PhotonNetwork.JoinLobby(lobby);and then joining room with
PhotonNetwork.JoinRoom(**);
But Photon does not join lobby, is there a way to join room in specific lobby or better way to join lobby?
Comments
-
PhotonNetwork.JoinLobby(TypedLobby.Default);
Can be used to join the default lobbyPhotonNetwork.JoinLobby(new TypedLobby("lobby name", LobbyType.Default));
Can be used to join a specific lobby0 -
I tried it, but photon does not join lobby withTHMMeep said:PhotonNetwork.JoinLobby(TypedLobby.Default);
Can be used to join the default lobbyPhotonNetwork.JoinLobby(new TypedLobby("lobby name", LobbyType.Default));
Can be used to join a specific lobbyPhotonNetwork.JoinLobby
0 -
This sounds very unusual, do you have any errors you can provide?VityaSchel said:
I tried it, but photon does not join lobby withTHMMeep said:PhotonNetwork.JoinLobby(TypedLobby.Default);
Can be used to join the default lobbyPhotonNetwork.JoinLobby(new TypedLobby("lobby name", LobbyType.Default));
Can be used to join a specific lobbyPhotonNetwork.JoinLobby
Are you connected to the MasterServer before calling JoinLobby?0 -
Yes, I'm creating new room in default lobby and special lobby and then I logging count of rooms before and after joining special lobby.THMMeep said:
This sounds very unusual, do you have any errors you can provide?VityaSchel said:
I tried it, but photon does not join lobby withTHMMeep said:PhotonNetwork.JoinLobby(TypedLobby.Default);
Can be used to join the default lobbyPhotonNetwork.JoinLobby(new TypedLobby("lobby name", LobbyType.Default));
Can be used to join a specific lobbyPhotonNetwork.JoinLobby
Are you connected to the MasterServer before calling JoinLobby?
When I'm creating room in default lobby from my first accountPhotonNetwork.JoinOrCreateRoom(name, roomOptions, TypedLobby.Default);
, second account see it from default and specified lobbies, but when I create room in specified lobby from first accountPhotonNetwork.JoinOrCreateRoom(name, roomOptions, new TypedLobby("speclobby", LobbyType.Default));
, my second account can't see any room in default and specified lobby
0 -
Hi @VityaSchel,
Thank you for choosing Photon!
Could you make sure that all clients are connected to the same virtual application (AppId, AppVersion, PUN version) and to the same servers (region)?
Check out the full "Matchmaking Checklist".0 -
well, looks like I explained bad.JohnTube said:Hi @VityaSchel,
Thank you for choosing Photon!
Could you make sure that all clients are connected to the same virtual application (AppId, AppVersion, PUN version) and to the same servers (region)?
Check out the full "Matchmaking Checklist".
Clients see rooms in default lobby but can't see rooms in specific lobby. They have same versions and connected to same servers. I can't join lobby. I created new thread where I asked how to join random room in specific lobby.0 -
Okay, I debugged names of lobbies and now I actually join lobby, but there is still no my rooms0
-
Hi @VityaSchel,
You cannot create two rooms with the same name.
You cannot create or join rooms while joined to one, you need to leave it first.
Implement callbacks for failures and errors.
Or add SupportLogger to see if there are errors.
Otherwise, double-check that rooms are created visible (IsVisible).0