Hey,
when i am calling PlayFabClientAPI.GetFriendLeaderboard i am alwase get 0 result.
request:GetFriendLeaderboardRequest getFriendLeaderboardRequest = new GetFriendLeaderboardRequest()
{ MaxResultsCount = 5, StatisticName = $"lEVEL_STATISTICS_NAME", ProfileConstraints = ProfileConstraints }; PlayFabClientAPI.GetFriendLeaderboard(getFriendLeaderboardRequest, (result) => { Debug.Log(result.Leaderboard.Count()); }, (error) => { Debug.LogError(error); });
i am trying to call the API when i am logged in when this PlabfabID = "4720617DB4FEF450" , and he has friends:
what do i do wrong?
all the other request working (get leaderboard).