Jump to content

User.GetUserName different to leaderboard name


jeffries7

Recommended Posts

Using Unity 5.6.2 with the newest version of Viveport.

 

When I use User.GetUserName() it returns what seems to be the user for for login. However when I get that players entry in a leaderboard it returns the first name and surname, to make matters worse i cannot now check the leaderboard entry against the username if i want to highlight it to the player as their score. 

 

Is there another way to do this or is this something that'll be adressed in the future?

Link to comment
Share on other sites

We provide the display name to the end user from its account.

The following is the display rule.

1. The end user logins HTC account.

2. Viveport allows the end user to set up its display name.

3. If the end user completes the display name, the end user will show the display name on the leaderboard.

4. If the end user doesn't setup the display name, the end user will show the real world first name only on the leaderboard.

5. Viveport follows the GDPR rule for the leaderboard.

 

Please advise us what do you want for the leaderboard.

 

Regards,

 

Continent

Link to comment
Share on other sites

On our account we've setup the display name and when we use the GetUserName funtion it returns the display name. However when I get a leaderboard entry, then access that entries display name it returns the real world name and not the display name.

It also returns both the first and second name and not just the first name.


Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...