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

ReconnectAndRejoin: AuthValues == null is not correct?

$
0
0
I am attempting to use PhotonNetwork.ReconnectAndRejoin() to get back in a room after a mobile user gets disconnected by the OS when the app goes to the background.

It doesn't seem to work and throws an error: "ReconnectAndRejoin() with AuthValues == null is not correct!"

I don't understand why AuthValues are required for reconnect but not the normal connect?

I attempted to set some AuthValues or just use a blank AuthValues but I get errors when creating a room about not having an AppId (I'm using on-premise hosted version) or the Auth type not being supported.

I've also tried using the normal Connect function after disconnected by iOS but it doesn't work and I don't receive either of the OnFailedToConnectToPhoton, OnConnectedToLobby, OnConnectedToMaster callbacks...

Using Photon Unity Networking 1.73

Viewing all articles
Browse latest Browse all 15755

Trending Articles