Skip to main content
stevenlinton
Up and Coming
November 3, 2023
Solved

GetLoggedInUser returns Oculus ID 0 with v59 update

I have my build on three Quest 3 devices.

Two are running: 59.0.0.163.706.533208642

The other is running: 57.0.0.297.669.526237896

All devices are using the same login account.

When running GetLoggedInUser it returns the correct Oculus ID on v57, and Oculus Id=0 on v59.

---- 

I have confirmed this by updating the v57 device to v59 and now the Oculus Id=0 using the same build and account.

Too the best of my knowledge all required permissions are provided. 

jtriveri
jtriveriAnswer
Honored Contributor
November 10, 2023

I got it working by doing the following:

  • uploading a build of our own app to meta in our registered app’s private release channel on the developer dashboard
  • adding my own account as a test user to this registered app on the developer dashboard
  • running Entitlement Check before obtaining user ID

5 replies

jtriveri
Honored Contributor
November 4, 2023

seeing same behavior. We have dozens of headsets that are split between v59 and v57.
All on v59 returned 0, while all on v57 retrieved the ID correctly.

jtriveri
jtriveriAnswer
Honored Contributor
November 10, 2023

I got it working by doing the following:

  • uploading a build of our own app to meta in our registered app’s private release channel on the developer dashboard
  • adding my own account as a test user to this registered app on the developer dashboard
  • running Entitlement Check before obtaining user ID
New Participant
November 12, 2023

I did all this too and it's still not working for me. Did you upload it to the alpha release channel? Also is there a difference between a "user" and a "test user"? I don't see test user available as an option anywhere on the app manager. I dunno what to do

jtriveri
Honored Contributor
November 13, 2023

 sorry, I meant inviting your own account to test the app through the release channel. You may have done this already but just in case the option appears in app > Distribution > Release Channels >  number in ‘Users’ column for given release channel