Unity: GetLoggedInUser always returning Message.Data.ID = 0
In my Unity app (from within the editor), I'm trying to load my customized avatar for my main Oculus account. After I get a successful user entitlement check, I call the Users.GetLoggedInUser() function. The Message.Data.OculusID parameter correctly contains my account username, but the Message.Data.ID value is always 0 (zero) - so of course, my OVRAvatar instance wont load my customized avatar after setting the value provided to the avatar properties.
I have done this successfully in the past, and I believe the last time it worked correctly was before the Facebook account conversion. Has anyone else experienced this or might have suggestions as to how to fix it?
A few things I have checked/tried:
1. I have put the correct APP ID (from my Oculus Dashboard) in both the Platform and Avatar settings with the Unity/Oculus menus in the Unity editor
2. I am initializing with Core.Initialize()
3. I'm calling Request.RunCallbacks() to avoid a race condition
4. If I use OVRManager's account override option in the editor to use one of my test user accounts from the Oculus dashboard, it DOES return a non-zero ID number.
I'm at a loss at this point. Any suggestions would be appreciated.
I have done this successfully in the past, and I believe the last time it worked correctly was before the Facebook account conversion. Has anyone else experienced this or might have suggestions as to how to fix it?
A few things I have checked/tried:
1. I have put the correct APP ID (from my Oculus Dashboard) in both the Platform and Avatar settings with the Unity/Oculus menus in the Unity editor
2. I am initializing with Core.Initialize()
3. I'm calling Request.RunCallbacks() to avoid a race condition
4. If I use OVRManager's account override option in the editor to use one of my test user accounts from the Oculus dashboard, it DOES return a non-zero ID number.
I'm at a loss at this point. Any suggestions would be appreciated.
