Disconnected because InvalidAuthentication
Hi:
I have question regarding PhotonNetwork.ConnectUsingSettings() with PhotonNetwork.AuthValues set to null or new AuthenticationValues(){AuthType=CustomAuthenticationType.None} while using no Authentication in dashboard.
Does it make any different to set value to null or AuthType=CustomAuthenticationType.None when using no Authentication in dashboard? and it seems sometimes causing InvalidAuthentication but not CustomAuthenticationFailed.
current plugin atPUN:2.22; Photon lib:4.1.4.5
Comments
-
Does it make any different to set value to null or AuthType=CustomAuthenticationType.None when using no Authentication in dashboard?
No.
it seems sometimes causing InvalidAuthentication
I would need a repro. It should not happen "sometimes" unless you changed the workflow... Update PUN to latest version please.
Mail us a repro and tell us the AppId for this: developer@photonengine.com
0 -
Hello:
It turns out to be not related to PhotonNetwork.AuthValues but the available regions and the region whitelist
When client connects to a region not in whitelist, isn't it supposed to receive InvalidRegion instead InvalidAuthentication?
0 -
You are right,
InvalidAuthentication
is being returned. I would also expectInvalidRegion
.I'll check if that's by design and if we change it.
0