cancel
Showing results for 
Search instead for 
Did you mean: 

Token validation error when unlocking achievement

JohanOddRaven
Honored Guest
I am trying to unlock an achievement with the Unity SDK, but get a strange error message when doing so. Initilization and entitlement checks suceeds without a problem, but when I call Oculus.Platform.Achievements.Unlock the response is:
190: {"error":{"message":"Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.","type":"OAuthException","code":190,"fbtrace_id":"Ao\/QI0gqRCZ"}}
Of course I haven't changed the password or anything.
I'm using Oculus Rift with OVR Plugin v1.22.
2 REPLIES 2

mouse_bear
Retired Support
@Hammarhaja

Welcome to the Oculus Developer Forums!

Which version of Unity are you using? Additionally, you may want to update to the latest version of the Oculus Utilities package (v1.25.2) to see if it that may solve your issue.
If you need immediate help or want additional support/context on an issue you are having with our platform or integrations:

1. Gather any and all logs, screenshots, and version numbers of relevant software (Oculus SDK, engine, etc.)
2. Please submit a ticket here through the "Contact Us" link (include what you've gathered in step 1).
3. Tag me @mouse_bear once you have done so!

JohanOddRaven
Honored Guest
Sorry for the delayed answer,but upgrgading to v.1.25 made it default to using OpenVR instead of OVR in Unity, which broke a lot of stuff so I couldn't really test if it helped with the original issue.

I am using Unity 2018.1.0f2