rcazzy
rcazzy10h ago

Meta Avatars Sample to use zip only

Hello! I'm just wondering if it is possible to make the meta avatars sdk sample only use the zip presets instead of the cdn version? I want to save the avatar choice locally to a settings file, get the index as an id and then load it locally/share it across the network. If this is possible, what is the best way to do this, as I assume I cannot alter the sample code given as it is part of a package? Any guidance on how to approach this would be massively appreciated! Thank you!
5 Replies
kapa.ai
kapa.ai10h ago
Hi @rcazzy. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources do not contain explicit information about configuring the Meta Avatars SDK sample to use only the zip presets instead of the CDN version, nor about saving avatar choices locally and loading them by index. The documentation primarily covers setting up Meta Avatars, integrating them with Normcore, and customizing avatar prefabs, but does not detail how to override the avatar asset loading mechanism or bypass the CDN in favor of local zip files. Additionally, the documentation notes that Unity's UPM package manager does not allow direct modification of package code, but suggests copying relevant classes into your own namespace if you need to customize behavior. However, there are no specific instructions or examples for customizing the avatar asset loading process for local-only use or for saving/loading avatar selections by index from a settings file. For advanced configuration or to explore whether local-only avatar loading is supported, you may need to consult the official Meta Avatar SDK documentation or reach out to Meta's support channels for further guidance, as this scenario is not covered in the Normcore documentation provided here. If you have further questions about integrating Meta Avatars with Normcore or customizing avatar prefabs within the supported workflow, feel free to ask!
Meta Avatars Customization ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai10h ago
<@261972349891510283> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
maxweisel
maxweisel10h ago
You’d need to fork the MetaAvatars component I believe for that the source code is included, I’d copy it into your project and place in a new namespace
rcazzy
rcazzyOP10h ago
Thanks @maxweisel. Should I expect to copy all source code to my new namespace or might it be compatible with changes purely on that class?
maxweisel
maxweisel10h ago
I think you’ll need that class and our lipsync class but the rest is just assets from Meta’s samples that we’ve copied over so those can remain unchanged and in our UPM package

Did you find this page helpful?