Forum Discussion
Robo_Luis
3 years agoHonored Guest
GetLoggedInUser() returns valid user ID but null display name
Like the title says user ID returns fine but display name is null;
DUC appears to have been approved for both ID and username.
Below is the code for the callback used when the GetLoggedInUser() request completes:
private static void GetLoggedInUserCallback(Oculus.Platform.Message<User> message)
{
if (!message.IsError)
{
User user = message.GetUser();
PlayFabManager.Login(user.ID.ToString(), user.DisplayName);
}
}
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
- 3 years ago