question

schweizerbenjamin97 avatar image
schweizerbenjamin97 asked

Player Profile Values are null?

Hello,

i tried to test the new sdk update with the new "player profile" in the leaderboard entrys, but all keys (except the PlayerID) is null.

What am I doing wrong?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Don't worry - you're not doing anything wrong. We'll be updating the documentation shortly with the details, but long story short, there's a new parameter for the leaderboard calls - ProfileConstraints. It's a new type (PlayerProfileViewConstraints) which specifies what fields you want to get from the profile. To start, the server version will be allowed to query everything, while the client will be able to query only a limited set (to prevent issues with PII). We'll be adding a permissions system in the near future that will allow you to specify what the client can request.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.