leaderbaord GetPlayerStatisticsRequest not returning version if leaderboard is empty after last version reset
Debug.Log("calling stats"); PlayFabClientAPI.GetPlayerStatistics(new GetPlayerStatisticsRequest(),OnGetStats,error=>Debug.LogError(error.GenerateErrorReport()) );
Answer by Sarah Zhang · Dec 25, 2020 at 07:45 AM
It’s by design. The API GetPlayerStatistics is designed to retrieve the indicated statistics for the current player. The empty statistics will not be displayed. If you want to retrieve the current version of the specific leaderboard, you can call the API GetLeaderboard.