Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
alicewithalex25's avatar
alicewithalex25
Honored Guest
4 years ago

Trouble with Achievements in Unity (Testing)

Hello there!

 

I'm a new to Oculus SDK developing. I need to add achievement in my game and facing some problems with it.

 

I already install Oculus Integration to unity and implement just one unlock function of one achievement, that already has been added to my dashboard as simple client-authoritative with name "COMPLETE_TUTORIAL".

 

I also setup Platform Settings in Unity editor with some test email/password from my test user in dashboard and type in APP_ID there. For some reason I also initialize Oculus.Platform.Core.Initiailize(APP_ID) in code.

 

After that I invoke Oculus.Platform.Achievements.Unlock("COMPLETE_TUTORIAL") when custom event happened in game. In editor I also debug this moment and code is reachable and works.


Then I build my game and send apk to Quest 2 and try get this achievement in game, but nothing happened when I finished my event...

 

Need some help with this... I think, maybe I should upload game to dashboard? I'd appreciate any help!

4 Replies

Replies have been turned off for this discussion
  • hgcl's avatar
    hgcl
    Honored Guest

    Hi, I'm currently facing the same issues, I'm porting a game from Rift to Quest 2. On the Rift achievements work fine. I updated the ID to the new Project ID but running the apk on the Quest 2 did not unlock any achievements. Did you get it to work? If not, maybe I will figure it out and than give you a quick summary. If that is still a thing for you, considering that your post is half a year old now.