Nickname is empty when using an on-premises server
Options
As the title says, if I use the on-premises server, nickname doesn't appear to be set when I do PhotonNetwork.NickName = "foo";
This doesn't appear to be an issue when using Photon Cloud.
This doesn't appear to be an issue when using Photon Cloud.
0
Comments
-
Nevermind, found this thread: https://forum.photonengine.com/discussion/comment/48063During authentication, Photon Server (v4.0.29.11263) will return a null Nickname that will override the local Nickname value.
As a workaround, you could set a Nickname after being connected.
This value will be used inside rooms and can be changed (and synchronized) later.
This is what happens and the workaround works.0