#iOS not returning all achievements with GameServices.LoadAchievementDescriptions

1 messages · Page 1 of 1 (latest)

storm thicket
#

I created 2 different Game Center achievements before moving to a Game Center Group. I then moved them to a game center group and then created the other 22 of my achievements in the game center group, totalling 24 achievements.

When I call GameServices.LoadAchievementDescriptions I get back the original 2 achievements that I created before using the Game Center Groups, but I do not get the other 22 achievements. Any thoughts?

Another thought, I am noticing I am getting back NO achievements when I use this call on Android.

I’ll also mention that I have added all the achievements to both AppStore Connect and Google Play Console and I have the correct app ID’s added to the essential kit settings.

glass geyser
#

Ok. Let's first check the Android part.
Can you pls share screenshots of Essential Kit's achievements settings and a screen shot of achievements list in console?

storm thicket
#

Here's a few for example

#

I have the android app ID in both of these places..

#

I notice I can submit to leaderboards from android fine though 🤔

glass geyser
#

Store Identifer for Android is actually the package name - However, it isn't the cause of the issue here. More info about store id's here

#

Coming to the issue, I see the details proper. I would request you to do the following.

  1. Add GameServicesDemo scene
  2. Once you authenticate, click on Get Achievement Descriptions
  3. Send me a screenshot of the screen
storm thicket
#

Roger that. I've changed that store identifier and did a new build with the GameServicesDemo scene on my Android device. Here you can see I can authenticate, I can load leaderboards, but I get no achievements

storm thicket
#

Also, interestingly, if I click ShowAchievements and the Google Play Achievements page opens, you can see all the achievements there...

glass geyser
#

Ok, I can confirm that your code is not the problem as in the demo too it returns empty results.
So I need to once go through the logs to find any info for its failure.

storm thicket
#

Ok, after some debugging and some great help from @glass geyser - I have realized this was a silly issue on my end! So we can close this ticket! 😄

#

And if anyone is curious... this was my silly/embarrasing issue..

For android, I used a screenshot of the Google Play Achievements and used a text-detection feature to copy/paste the achievement and leaderboard IDs into a string array which I then used to load into the game services achievement/leaderboard definition arrays... (because I didn't want to manually copy/paste all the IDs)

The text-detection feature of the screenshot mixed up some characters like 'l' to 'I' and 'w' to 'W' which caused most/all of the IDs to be invalid... once I went back and manually copy/pasted the IDs into the Game Services array in my unity app I can now pull down and detect all the achievements and leaderboards on both android and iOS.....