09-07-2024 06:28 AM
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?
09-08-2024 09:20 PM
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!
09-09-2024 11:03 PM
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!