Hi,
after updating player statistics I am not seeing my leaderboard updated. Player statistics is updated correctly though. Isn't leaderboard updated automatically once statistics is updated?
publicvoidUpdateScore(int score)
{
if(FacebookAndPlayFabInfo.isLoggedOnPlayFab)
{
List<StatisticUpdate>stats=new List<StatisticUpdate>();
StatisticUpdate scoreStat=new StatisticUpdate();
scoreStat.Statistic Name=name Leaderboard;
scoreStat.Value=score;
stats.Add(scoreStat);
UpdatePlayerStatisticsRequest request=new UpdatePlayerStatisticsRequest();
request.Statistics=stats;
PlayFabClientAPI.UpdatePlayerStatistics(request,UpdatePlayerStatisticsSucessCallback,PlayFabErrorCallBack);
}
else
{
Debug.Log("Not logged in. Score cannot be updated.");
}
}