Forum Discussion
GlimpseGroupDev
2 years agoProtege
Meta Avatars v29 missing sample files for opening avatar menu
https://developers.meta.com/horizon/documentation/unity/meta-avatars-editor-integration
This page describes how to open the avatar editor in v29. It wants me to do run
AvatarEditorDeeplink.LaunchAvatarEditor();
As shown in the example file 'Avatar2/Example/Common/Scripts/OpenAvatarEditor.cs'
But for me that file just doesn't exist. I have the v29 avatars integrated. They are visible in the editor, visible in the build and using the avatar from my headset. I even have all the sample scenes available. But I have no file called OpenAvatarEditor in either assets or packages. AvatarEditorDeeplink doesn't exist in my current context so I can't call LaunchAvatarEditor. Where are these files that I am missing for some reason???
This code below opens the old avatar menu in the app, but how to open the new one?
if (OvrPlatformInit.status != OvrPlatformInitStatus.Succeeded)
{
Debug.LogError("OvrPlatform not initialized, cannot open avatar menu.");
m_menuParentObject.SetActive(true);
}
AvatarEditorOptions options = new AvatarEditorOptions();
options.SetSourceOverride("avatar_2_sdk");
var result = new Request<Oculus.Platform.Models.AvatarEditorResult>(Oculus.Platform.CAPI.ovr_Avatar_LaunchAvatarEditor((IntPtr)options));
2 Replies
Replies have been turned off for this discussion
- Oloap.92Protege
Did you solve it?
- GlimpseGroupDevProtege
Still nothing. Can we please get an answer on why these files are not included in the Unity Package?
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
- 19 days ago
- 6 months ago
- 10 days ago
- 8 months ago