How to load a specific Game Center leaderboard?
I've looked at other threads about this and tried to follow their advice, but to no avail; every time I try to open Game Center on ios, is just starts on a big long list of all of the leaderboards in the game.
At the top of my script: import UnityEngine.SocialPlatforms; import UnityEngine.SocialPlatforms.GameCenter; import UnityEngine.SocialPlatforms.GameCenter.GameCenterPlatform;
And the code to open the leaderboard: GameCenterPlatform.ShowLeaderboardUI(leaderBoardName, TimeScope.AllTime);
(The leaderBoardName is correct; before this I was trying to do a custom UI thing and it pulled names correctly.)
Please help! The game is live and I really want to update it soon.
Answer by Mattias-Wargren · Feb 09, 2017 at 09:48 AM
This bug is known and was resolved in 5.4.3 according to the issue tracker.
Status: Fixed in Unity 5.4.3 https://issuetracker.unity3d.com/issues/ios-gamecenterplatform-dot-showleaderboardui-is-not-showing-the-specific-leaderboard
Your answer
Follow this Question
Related Questions
How can i Implement iOS GameCenter leaderboards in my game? 1 Answer
Namespace Gamecenter not found on Unity 2017.2 1 Answer
Score to IOS Leaderboards Game Center 0 Answers
GameCenter Leaderboard Reporting Scores 1 Answer
Using Unity to build this ios project, Added google signin SDK 4.0.1 Framework, I get error 1 Answer