iOS Can't make Achievements work on iOS

sman

Member
Hi,

I created achievements for my game in App Store Connect, but with GMS2:
  • when I run achievement_load_progress() (like explained here) I get the error "Error attempting to load our achievements".
  • when I run achievement_show_achievements(), it opens the leaderboards page instead of the achievements page
Is it a GMS2 bug or did I forget something?
 
Last edited:

Still57

Member
If you are trying to show the achievements to the user you just can't show them directly (as far as I can remember from GMS1.4). You'll have to show the leaderboards and the user has to make their way to the achievements tab.

If you are trying to get achievements data from Game Center then you forgot to login to Game Center before you called the load progress function. That is why you are getting that "Error attempting to load our achievements" error. However, even when you are logged into game center it still fails to fetch the achievements for some reason. It always returns 0 for the number of entries.

This thread should be in the GMS2 Community Tech forum
 

Still57

Member
Did some more testing: It will fail to fetch any achievements if none are completed or do not have progress
 
Top