Forum Discussion
Anonymous
4 years agoOculus Meta Avatar unable to load second time after scene change without close app
Hello All,
I am trying to load Avatar from CDN. First-time avatar loading successfully. But changes the scene and tries again avatar getting below error log in response of OvrAvatarManager.Instance.UserHasAvatarAsync(xxxxxxxxxxxxxxxx).
Unable to send avatar status request for _userId : xxxxxxxxxxxxxxxx
Try First and Seconds time getting status log user-related:
- GetUserLogged success
Does anyone face an issue on loading seconds time meta avatar?
- Anonymous4 years ago
[ANSWER SOLVED]
I think I solved it, Issue is a related access token.
On the second time when we load avatar after some scene changes operation, the app has already access token valid but we need to call set Access token again in OVRAvatarEntitlement by using OvrAvatarEntitlement.ResendAccessToken();
Now I can able to load avatar as many times as I want even after scene changes.
Hope this helps others ✌️
3 Replies
Replies have been turned off for this discussion
- Anonymous
[ANSWER SOLVED]
I think I solved it, Issue is a related access token.
On the second time when we load avatar after some scene changes operation, the app has already access token valid but we need to call set Access token again in OVRAvatarEntitlement by using OvrAvatarEntitlement.ResendAccessToken();
Now I can able to load avatar as many times as I want even after scene changes.
Hope this helps others ✌️
- Gabo.AndresExplorer
You my guy are a real hero thanks! 😄
- AnmaaVRMember
Where did you call the OvrAvatarEntitlement.ResendAccessToken(); ?
Also, where should I set the Token?
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
- 6 months ago
- 6 days ago
- 7 months ago
- 12 months ago