JoinRandomRoom Problems
Hello,
I'm having problem with random matchmaking.
When my game call PhotonNetwork.JoinRandomRoom(), instead of joining on a open room, it returns the following errors:
Cannot send op: 225 Not connected. PeerState: Disconnecting
Cannot send op: 225 Not connected. PeerState: Connecting
JoinRandomRoom aborted: You can only join a room while not currently connected/connecting to a room.
JoinRandom failed: OperationResponse 225: ReturnCode: -3 (Not authenticated.). Parameters: {}.
OpJoinRoom() failed. Please specify a roomname.
JoinRoom aborted: You can only join a room while not currently connected/connecting to a room.
I'm using unity 3d. Thanks for the help.
I'm having problem with random matchmaking.
When my game call PhotonNetwork.JoinRandomRoom(), instead of joining on a open room, it returns the following errors:
Cannot send op: 225 Not connected. PeerState: Disconnecting
Cannot send op: 225 Not connected. PeerState: Connecting
JoinRandomRoom aborted: You can only join a room while not currently connected/connecting to a room.
JoinRandom failed: OperationResponse 225: ReturnCode: -3 (Not authenticated.). Parameters: {}.
OpJoinRoom() failed. Please specify a roomname.
JoinRoom aborted: You can only join a room while not currently connected/connecting to a room.
I'm using unity 3d. Thanks for the help.
0
Comments
-
That sounds like you call JoinRandomRoom() immediately (or too soon) after ConnectUsingSettings(). Establishing the connection is a process which must finish before you can call operations (like JoinRandomRoom).
Check the examples.0 -
Thanks you solved my problem0
-
where are the examples at?0
-
Download PUN from the Asset Store, import and look for the folder Demos.
You can also find a menu item in the Unity Editor to set them up: Window, Photon Unity Networking, Configure Demos.0