Forum Discussion
saikiran_n
5 years agoProtege
Help required..!!! Platform.Users.GetLoggedInUser() returning emptyString for displayName field
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...
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.
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?
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 2 months ago