How can I get country of player entries in leaderboard to display their country flags?
I tried this:
but it returns Null in debug log. Is there something I am missing?
There is a parameter name ProfileConstraints in GetLeaderboard’s request body. This parameter decides what player profile will return. If you want to get player’s locations, please add ProfileConstraints in your request and set ShowLocations to true.
However, the player's locations are not allowed to be read by the client by default. So before you call again, please navigate to [Title Setting]->[Client Profile Options]->[ALLOW CLIENT ACCESS TO PROFILE PROPERTIES]. And make sure the option “Locations” is selected.
8 People are following this question.