12-16-2022 07:36 AM
Hello everyone!
I'm with a problem related to accesing Oculus account information and using it in my game. The problem is that when I try to get the user info, they all return empty and this happens to all of the users, even if I’m using an app Apk intalled on Oculus, or downloading the game from the store in Beta release channel. The only way I was able to make it work was with a test user, but I would like to try with my own account.
Notes:
I’m not sure what the problem is, the code seems ok (since the test user works), but I don’t know how to make it work with other users (such as other developers in my organization). Any toughts?
Here is some of my code
In the image above, the "_username" debug shows nothing
Thanks in advance for any help!
Solved! Go to Solution.
12-30-2022 04:30 AM
I kinda solved the problem.
I was trying to access the GetUser().DisplayName, but for some reason my account does not have this value, so that's why it was returning as an empty string. I changed to get the .OculusID and now is working as expected!
12-30-2022 04:30 AM
I kinda solved the problem.
I was trying to access the GetUser().DisplayName, but for some reason my account does not have this value, so that's why it was returning as an empty string. I changed to get the .OculusID and now is working as expected!