JoinRandomRoom failed. Client is on GameServer (must be Master Server for matchmaking) and ready

As in the title, I cannot connect to a master server and I don't know why.

here is the code that I use to connect : https://gitlab.com/studiobaguette/cube_project/blob/fc85686cdf79a124acd0311a3512fe05855b02d7/SpaceCubev1.2/Assets/Scripts/Network/MatchMakingSystem.cs

Basically, we are using a numpad to enter a code and create a room with this code... this was working with Photon classic but since we have updated to photon 2 it's broken..

can someone help me ? thanks :smile:

Comments

  • Hi @ascure,

    Thank you for choosing Photon!

    As in the title, I cannot connect to a master server and I don't know why.
    The title does not say that you cannot connect to master server, it states that you are calling JoinRandomRoom while connected to game server and probably inside/joined to a room.

    We can't access your private GitLab repository.

    Just paste the whole stacktrace of the error message AND the code snippet of the method where you call JoinRandomRoom.
  • Ok I found out what was going on ... If you have the same problem , check if you implemented the callbacks correctly ...
Sign In or Register to comment.