Photon Refreshing Authentication Token
Options
atriko
✭
Hi guys, I have a problem with a project. I have a server like application in Unity. The app is always connected to the Master Server and to lobby. It is checking if a new room has been created and joins to it. The problem is the time between game rooms may vary and after a certain amount of time waiting in lobby, I can not join a room. It says authentication token is expired and I disconnect and reconnect to the master server/lobby to get a new token.
I made some research and saw some posts about raising events/RPC's periodically but I am not in a game room and I believe I can not raise events etc. in lobby.
How can I refresh my authentication token or stay active in the lobby so my token won't get expired?
I made some research and saw some posts about raising events/RPC's periodically but I am not in a game room and I believe I can not raise events etc. in lobby.
How can I refresh my authentication token or stay active in the lobby so my token won't get expired?
0