Skip to main content
January 14, 2022

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!

This topic has been closed for replies.

4 replies

January 17, 2022

Someone already work with it?

January 18, 2022

Very helpful forum and community! Thanks!

Participant
August 2, 2022

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.

New Participant
October 22, 2023

Here is the solution! https://www.youtube.com/watch?v=AblmHbpDmko&t=36s

Make sure you build the game to your quest in order for them to work!