Hi, im creating a unity game.
Issue is that calling getfriendleaderboard return nothing. I have attached my code aswell.
As you can see the friends are all showing in the playfab dashboards.
In the leaderboard :
--
In the Friends Dashboard:
--
The client profile options are: AvatarUrl, DsiplayName, Locations= ON.
void GetLeaderboard() { var request = new GetFriendLeaderboardRequest { IncludeFacebookFriends = true, MaxResultsCount = 75, StartPosition = 0, StatisticName = "Highscore", ProfileConstraints = new PlayerProfileViewConstraints() { ShowDisplayName = true, ShowAvatarUrl = true, ShowLocations = true } }; PlayFabClientAPI.GetFriendLeaderboard(request, LeaderboardSuccess, LeaderboardFail); } void LeaderboardSuccess(GetLeaderboardResult result) { int count=0; foreach (var entry in result.Leaderboard) { Debug.Log(entry.Profile.Locations[0].CountryCode.Value.ToString()); Debug.Log(entry.DisplayName); Debug.Log(entry.StatValue); count++; } }