cancel
Showing results for 
Search instead for 
Did you mean: 

Help required..!!! Platform.Users.GetLoggedInUser() returning emptyString for displayName field

saikiran_n
Level 4

Hey Guys, I was trying to build a small VR app for Rift. I was trying to use the displayName returned by Platform.Users.GetLoggedInUser() in my game rather than taking player name as input again in my game.

I was using Unity to build this. I was stuck up with 2 things here...

  1. I wanted to get the displayName as shown in the Oculus home screen but displayName field in Platform.Users.GetLoggedInUser() is returning username of the account.

  2. In Editor, for displayName at least I am getting a username. But when I had proceeded to keep windows build and upload it to a beta channel for testing. In the build, the displayName field in Platform.Users.GetLoggedInUser() is returning an empty string (I had added myself as a user to that release channel)

Can you guys help me out?

0 REPLIES 0