Forum Discussion
mrtckane
2 years agoHonored Guest
Users.GetLoggedInUser() is ignored entirely
Hello,
I am trying to use the following code to retrieve the UserID (i should preface this by specifying that I have tried in a variety of ways, including the use of coroutines and asynchronous methods).
Users.GetLoggedInUser().OnComplete(message1 =>
{
Debug.Log("oid: "+message1.Data.OculusID);
});
My problem is that this code never gets executed.
It is as if it is not there; it does not hang, it does not return any null/0 values, it simply does not execute at all.
I have googled this ad-nauseum and everyone else's problems are related to null values or a zero for the ID being returned, but my problem does not seem to come up.
I have the platform installed, signed in, I am waiting for Oculus platform to be initialised and I have filed (and had approved) my DUC.
What am i missing?
2 Replies
Replies have been turned off for this discussion
- MetaStoreHelpCommunity Manager
Hi, Mrtckance
Thanks for bringing this to our attention, could you please send us a DM so we can investigate this further.
Please select our name to get to our profile page, or click here.
Next, click "Send a Message" to privately message us!
Please remember, you must be signed into the community first to send us a private message.
Thanks!
- MetaStoreHelpCommunity Manager
Hi there!
We just wanted to check in with you to see if you need more help.
If you need more help, we hope to see you soon in our private message!
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
- 8 months ago
- 12 months ago