06-01-2022 11:49 AM
Hello there,
I'm testing out the new version of the Meta Avatars SDK for a game we are starting to prototype, and I was excited to try out the "Avatar Editor" features - the short version is that we're trying to use the "randomize" function to vary the appearance of Avatars to be used as NPCs in the game (rather than pulling a user's Avatar into the game, we're trying to have NPCs in the game use the same visual Avatar style and make use of the new SDK for that).
Anyways, it appears that there is a setup in the sample "Mirror Scene" (linked from this page: https://developer.oculus.com/documentation/unity/meta-avatars-samples/)
However when I click the link, it appears to go nowhere:
To see for yourself, the link tries to go here: https://developer.oculus.com/documentation/unity/meta-avatars-link-to-editor/
Which just says "Whoops!
It looks like you are lost. Let’s get you back home."
Are there any docs or articles on the Avatar Editor feature? I'd like to learn more about it but that link looked like my best bet, and I was sad to see it was a dead / broken link 😞
Thanks!
-Mike
08-18-2022 02:11 PM
Hey Mike,
I found it! If you go to the mirror scene in the examples. There's a game object in the hierachy called OpenAvatarEditor. That has the script you need. It boils down to a super simple line of code:
AvatarEditorDeeplink.LaunchAvatarEditor();