I am trying to do an anonymous login using “com.unity.services.authentication”: “2.1.1” in Unity
I tried to write and build the code for anonymous login based on the documentation, and it succeeded in logging in on IOS, but failed in logging in on android.
I asked someone else to try it on their Android, and it seemed to occur on some devices even with Android version 12 (some devices did not have it).
Terminals with this problem keep giving the same error and cannot log in, while terminals without this problem are able to log in.
I was debugging to solve this problem and found this error together
Hope this helps to resolve the issue.
Error Unity RequestFailedException: Failed to decode and verify access token.
ErrorCode:0 (I let this line output itself.)
Error ResolverController No valid NAT64 prefix (133, <unspecified>/0)
I have kinda the same issue on iOS. I got the iOS idtoken of the user but if I try to feed it into the ’
SignInWithAppleAsync’ method i get the exact same error. Were you ever able to fix the issue?
I’m also running into this issue. The weird thing is that it’s completely fine on my machine, but when I send a build of the game to my friend, he gets an “Authentication token expired” error even though we’re both on the same version of windows 10. I have no idea how to fix it (maybe it’s a bug and we just need to wait until it gets fixed)
Hey, we’ve got this figured out now. Unity check the system clock on the players PC to see if it is within 1 hour of when the steam auth token was given. So if the players PC is set to the wrong time then it will give token expired. The only fix is to make them set their PC date to automatic.