alvyxaz / barebones-masterserver

Master Server framework for Unity
476 stars 106 forks source link

"Failed to confirm access token" #191

Open LaptopStore24 opened 6 years ago

LaptopStore24 commented 6 years ago

Hey I often get "Failed to confirm access token" but sometimes not! What is the problem?

LaptopStore24 commented 6 years ago

I've figured out that it only happens in the standalone version of the master sever but not on the editor one.

jasielmacedo commented 6 years ago

Check the access token expiration time, by default is 20 seconds. If the time between request and load the scene is bigger than 20 seconds the token will expire and this message will be occur. You can change the Room Option "AccessTimeoutPeriod" to increase this. See: https://github.com/alvyxaz/barebones-masterserver/blob/master/MasterServerFramework2/Assets/Barebones/Msf/Scripts/Modules/Rooms/RegisteredRoom.cs#L99

Adz10kvtech commented 4 years ago

@LaptopStore24 Did you ever figure this one out? Did Jasiel fix work for you?