Game Center achievement banners not displaying on unlock (Unity)

1k Views Asked by At

My app (iOS) uses Game Center for its leaderboard functionality as well as its achievement system. I am using the built in libraries for Game Center integration for unity. My achievements work as intended, however when a user unlocks an achievement, there is no notification banner to indicate that the user has unlocked it. Naturally I have

GameCenterPlatform.ShowDefaultAchievementCompletionBanner(true);

with the header using

UnityEngine.SocialPlatforms.GameCenter;

and the standard authentication script before performing any actions, but despite my greatest efforts, the live version of the app does not display banner notifications upon unlocking an achievement. Any insight is appreciated.

1

There are 1 best solutions below

1
Aidan McArthur On

I feel like such an idiot, but the solution was quite simple. Download the GKAchievementReporter.unitypackage and import it in to your project. Replace your Social.ReportProgress() method with

GKAchievementReporter.ReportAchievement(achievementID, progress, showsCompletionBanner);