- Home /
Social.ShowLeaderboardUI() displays specific leaderboard instead of a default view (list of all leaderboards).
Hello!
I have four different leaderboards in my game. When i directly call one of them with PlayGamesPlatform.Instance.ShowLeaderboardUI("specific_leaderboard_id"), it is displayed correctly and I can watch specific highscores:
The problem is that when im trying to display list of all of them with Social.ShowLeaderboardUI(), it still displays single specific leaderboard.
Also when i open my game in Google Play Games application, it does not display the leaderboards tab. This may be the cause what is happening.
Can someone explain why my game has not the leaderboards tab or other reason why Social.ShowLeaderboardUI() displays specific leaderboard instead of a list of all leaderboards? Many thanks in advance!
Answer by Funul · Feb 24, 2016 at 01:09 PM
Fortunately, i have found the problem! I manually set a default leaderboard for UI: ((PlayGamesPlatform)Social.Active).SetDefaultLeaderboardForUI("leaderboard_id");.