Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
luolikong_f's avatar
luolikong_f
Explorer
4 months ago
Solved

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

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?

1 Reply

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