Operation failed: OperationResponse 225: ReturnCode: 32760 (No match found). Parameters: {}

Options
When joining a random room I get the above error. I would expect this error as there are no rooms yet. However... It should also callback OnPhotonJoinRoomFailed() which it doesn't
public override void OnPhotonJoinRoomFailed(object[] codeAndMsg)
		{
			Debug.Log ("Failed to connect to room: " + codeAndMsg);
			if (joinRandomRoom) {
				Debug.Log ("Creating random room");
				PhotonNetwork.CreateRoom (null);
			}
		}

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Brobot,

    Thank you for choosing Photon!

    You should change callback
    from
    void OnPhotonJoinRoomFailed(object[] codeAndMsg)
    to
    void OnPhotonRandomJoinFailed(object[] codeAndMsg)
  • Brobot
    Options
    Geez i'm blind... didn't see that in the classes. Thanks!