How can I show a specific leaderboard in iOS GameCenter?

I’m trying with no luck, using:

GameCenterPlatform.ShowLeaderboardUI(id, TimeScope.AllTime);

Instead, I get a page showing all leaderboards and user has to manually select which leaderboard to view. This is unacceptable if you have so many leaderboards, you don’t always know which one you played last?

Any ideas?

One thing I have in mind is that I’m currently in Sandbox and from iOS end, the leaderboards are not yet live, so maybe Unity’s API calls won’t come through yet. Meaning this will possibly get fixed as soon as the game gets live. Can any one confirm?

In that case just try to do mockup with regular Unity Terrains, if you want to mock it up, you can probably make huge terrains with low heightmap resolution, the problem is that the brush will be tiny, so you wont be able to do big edits to the terrain, thats one of the reasons why i made the plugin. Or just do it in external software like 3ds max or Blender with standard 3d meshes, it will be more hustle, but it wont cost anything :)

2 Answers

2

Have you tried using Social.ShowLeaderboardUI of Social api? In my case it shows all leaderboards along with challenges tab, like and rate of Game Center.

Thanks for your suggestion bro. However, Social.ShowLeaderboardUI() doesn't work for me as it has no id parameter to open a specific leaderboard id unlike GameCenterPlatform.ShowLeaderboardUI(int, TimeScope).

I have filed a repro-case and Unity has acknowledged that this is a bug.

Anyone interested can follow issue 808537 which they say should be fixed in 5.4.3.

Looks like it's not available yet in 5.5.0. How can I see the issue you are talking about ?

Unity does provide a service for network connectivity. https://unity3d.com/services/multiplayer Go here to learn more. Unity has recently made many features easier to integrate into one's app. Network features are no exception.