Unable to perform Region Change

Options
Hi everyone, hope someone can help me, I'm really desperate.


I just released my game which uses a custom backend for matchmaking and PUN for Unity Synchronization. I'm on PUN v1.87.

I just figured this configuration leads to problems when connecting my users in different regions. Shame on my.

I'm attempting to implement a switch from one player to another player's region once they are matched. However I can't get it to work.

I'm performing
PhotonNetwork.Disconnect();
and in
OnDisconnectedFromPhoton
I'm calling
PhotonNetwork.ConnectToRegion(regionToConnect, gameVersion);
under certain conditions. This works fine.,

However, PUN is not joining the Lobby on the new server at all.
OnConnectedToMasterServer
and
OnJoinedLobby
are NOT called after ConnectToRegion (OnJoinedLobby is called on game start with the player's default region).

I tried to perform
JoinLobby
but nothing happens at all. When I attempt to join or create a room I'm getting an error message that that's not possible (Not connected to master or ready error message). My connectionStatusDetailed is "Connected to Master Server".

Unlike I'm doing something really wrong this seems like a bug. I really hope it's not because I really don't want to upgrade.

Any help is appreciated!

Comments