Skip to main content
May 29, 2020

How to set up Client Achievements in Unity?

I have a box collider that is a trigger with a Script that runs 
Platform.Achievements.Unlock("HELLO_WORLD")
 because my Simple achievement name is "HELLO_WORLD". From what I understand from the documentation, this should work, as this achievement is marked as a Client Authoritative write policy achievement, but nothing happens when I make contact with my box collider. Is there an extra step I need to take?

1 reply

Inspiring
May 29, 2020
The only thing I do before that Unlock call is
Core.AsyncInitialize("your_app_id");
Entitlements.IsUserEntitledToApplication().OnComplete(EntitlementCallback);
Users.GetLoggedInUser().OnComplete(LoggedInUserCallback);
and wait for those callbacks to complete.