question

Joseph Sak avatar image
Joseph Sak asked

Leaderboard queries do not return names for Nintendo Switch accounts

We have a cross platform title for all the major platforms, when we do leaderboard lookups we get back the on platform username for users so that we can display the players names. This isn't the case for Nintendo Switch players though, they don't even return an empty name field, there just isn't that information sent back to us. This is the case on Nintendo Switch also, when a player there looks at a leaderboard, even if they use the "Leaderboard around self" functionality, their name is not attached to the leaderboard, we know which one the player is based on Playfab ID and can show their name correctly on their own device, but this doesn't work then for anyone else who wants to see that players name on the leaderboard.

Any advice on solving this issue would be appreciated, is there some special call we need to make on Switch platforms in order to get their username attached when they submit to leaderboards? Thanks in advance for any help.

Leaderboards and Statistics
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

·
Gosen Gao avatar image
Gosen Gao answered

As a workaround, you can use API Account Management - Update User Title Display Name - REST API (PlayFab Client) | Microsoft Learn to set the DisplayName as Nintendo Switch account username. Then you can use DisplayName to display the leaderboard UI for Nintendo Switch users.

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.