Skip to main content
New Participant
August 14, 2025
Solved

How to obtain the user token using the Meta XR Platform SDK

  • August 14, 2025
  • 1 reply
  • 158 views

I currently need to link the player's Meta account to our game using the Unity Meta XR Platform SDK for login purposes. After passing the application permission check, the player's ID can be obtained through the Users.GetLoggedInUser() method. However, the Token cannot be obtained using the Users.GetAccessToken() method. This method always returns an empty result. Could you please tell me if I have not configured something correctly or if there is any missing step?

Best answer by luolikongf

The problem has been solved. It was a network connection issue.

1 reply

luolikongfAuthorAnswer
New Participant
August 14, 2025

The problem has been solved. It was a network connection issue.