11. Export MYTY Avatar
MYTY Avatars have AssetBundles that can support Standalone(Mac/Win), iOS, Android, and WebGL. Use the AssetBundle Exporter to make your MYTY Avatars compatible with various platforms.
AssetBundle compatibility has been increased in MYTY Kit v1.0. Exporting Avatar AssetBundle as iOS and WebGL platforms is possible. For documentation on the previous version, see here.
๐ฅ Prerequisites
โ
The following five modules should be included in the Unity Editor.
Android Build Support
iOS Build Support
Mac Build Support (IL2CPP)
WebGL Build Support
Windows Build Support (Mono)
If you have installed Unity Editor by following our installation guide on the 3. Install Unitypage, all required modules will already be installed.
Open the exporter window
Open the Avatar Exporter window by selecting
MYTY Kit > Export AssetBundle
in the header tab.The Root Controller and all Motion Adapters created for the scene will be automatically referenced and shown in the window.
Can't see the Root Controller or Motion Adapters? Refer to the pages below, and try again. You may need to create a new Root Controller object and Motion Adapters.
AssetBundle Exporter window UI
File Name
: Give a name to the AssetBundle file to be exported.Avatar Selector
: The Avatar Selector object created in the current project is automatically included.Main Camera
: The camera showing the Avatar.Motion Template
: The Motion Template containing Motion DataAR Option
: You can set whether to include AR Face Mode in AssetBundle or to extract AssetBundle only in AR Face mode.Target Platform
: You can choose which platform you want to export the AssetBundle for.Root Controllers
: The Root Controller created in the current project is automatically referenced.Motion Adapters
: The Motion Adapters created in the current project are automatically referenced.Export
: Export the AssetBundle.
Set Variables and Export Avatar AssetBundle
Create a
File Name
for the AssetBundle to be exported.Avatar Selector
,Main Camera
,Motion Template
,Root Controllers
, andMotion Adapters
are automatically referenced and shown in the list. If the object(s) do not appear, click the โ button to the right of each input box to manually add the required object.Set the AR Option if you want to or not. For more information on AR Face mode, please refer here.
Choose the target platform for which you want to use the Avatar AssetBundle. If the target platform selection is disabled, see here.
Click
Export
to create the Avatar AssetBundle.Once the export is complete, you can check the Standalone(Mac/Win), Android, iOS, and WebGL versions of the Avatar AssetBundle in
Assets > MYTYAsset > ExportedBundle
in the Project window.
Test your AssetBundle with MYTY Avatar Viewer
Last updated