Receiving Invalid Authentication message and it disconnects automatically.

Hi,

I am using PUN sdk and I am receiving "Invalid Authentication" message when I try to connect to server using "Connect using settings" method and immediately OnDisconnected() is called. This is happening all of a sudden from 2 days. Before it, we were having the issue where OnConnected or OnConnectedToMaster was not being called after trying to connect. But once the issue was resolved, I am now facing this issue.

Comments

  • Tobias
    Tobias admin

    Sorry for the late reply. This is sadly too vague to help.

    Make sure your AppId is set correctly and without whitespace. There is also usually some more debug info logged when this happens. If you set AuthValues, let us know what they are.