Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

JoinRandomRoom joins even if sqlLobbyFilter does not match?

$
0
0
Hi I am trying to use JoinRandomRoom with a SQL Filter but it seems to be always joining me into a room if it exists even if the filter does not match.

I am using an obviously incorrect sql filter "blah blah junk" but I am still getting connected to rooms.

I would expect that if I have LobbyType set to SqlLobby if there is not a match or if there is a problem with syntax that it would fail to join a room. Instead it is behaving like a parameterless JoinRandomRoom() call.

Is this behaviour correct? I am a bit puzzled as to why it is joining a room.

PhotonNetwork.JoinRandomRoom( null, 0, MatchmakingMode.RandomMatching, new TypedLobby("Default", LobbyType.SqlLobby), "blah blah junk" );

Viewing all articles
Browse latest Browse all 15755

Trending Articles