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.

Comments

  • cbethax
    Options
    Nevermind, found this thread: https://forum.photonengine.com/discussion/comment/48063
    During 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.
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @cbethax,

    Thank you for choosing Photon!

    I see you have found out about the known issue already.
    You can know more here.