Forum Discussion
weslleyijt
3 years agoHonored Guest
Problem with Meta Avatar2 load
I'm trying to load the avatar using the user id provide by oculus account but I'm having a problem because the log gives me 'failed' I set the app id information on the dashboard and unity
these are the log states
IEnumerator TryToLoadUser()
{
OvrAvatarEntitlement.ResendAccessToken();
//We wait until the oculusID is set and the app token has been set
while (!userIDSet || !OvrAvatarEntitlement.AccessTokenIsValid)
{
Debug.Log(OvrAvatarEntitlement.AccessTokenIsValid);
yield return null;
}
var hasAvatarRequest = OvrAvatarManager.Instance.UserHasAvatarAsync(_userId);
while (hasAvatarRequest.IsCompleted == false)
{
yield return null;
}
//avatar oculos method
LoadUser();
}
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 9 months ago
- 1 year ago