# \[v.0.1.0] 11. Export MYTY Avatar

## 🔥 Prerequisites

### ✅ The following four modules should be included in the Unity Editor.

* **Android Build Support**
* **iOS Build Support**
* **Mac Build Support (IL2CPP)**
* **Windows Build Support (Mono)**

{% hint style="warning" %}
If you have installed Unity Editor by following our installation guide on the [3.-install-unity](https://myty.gitbook.io/products/kit/getting-started/3.-install-unity "mention")page, all required modules will already be installed.
{% endhint %}

<details>

<summary>Are these modules missing in Unity Editor?</summary>

1. In the <mark style="color:purple;">`Installs tab`</mark> of the Unity hub, click the <mark style="color:purple;">`⚙︎ icon`</mark> next to the Unity Editor.
2. Check the checkbox of the required module and click the <mark style="color:purple;">`Install`</mark> button to add it.

</details>

![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2F37wx9lxJNQ9Oconjovev%2Fadd%20module.gif?alt=media\&token=3c8e13a6-6cb5-4b48-baa4-4aea7a8149bf)

## Open the exporter window

1. Open the Avatar Exporter window by selecting <mark style="color:purple;">`MYTY Kit > Export AssetBundle`</mark> in the header tab.
2. The Root Controller and all Motion Adapters created for the scene will be automatically referenced and shown in the window.

![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FQ3Zgh45ofgRhSldPbZc7%2FExporter_1.gif?alt=media\&token=05199e8a-f3ce-422f-9612-1492f3ef2500)

{% hint style="info" %}
**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.

Create Root Controller 👉 [8.-myty-kit-controllers](https://myty.gitbook.io/products/kit/make-animation/8.-myty-kit-controllers "mention")

Create Motion Adapter 👉 [v0.1.0-9.-apply-motion-tracking](https://myty.gitbook.io/products/kit/misc/legacy-documentation/v0.1.0-9.-apply-motion-tracking "mention")
{% endhint %}

### AssetBundle Exporter window UI

![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FmVn6p8zcw2FMEjRyVywV%2FScreen%20Shot%202022-06-22%20at%2010.58.59%20PM.png?alt=media\&token=a9707890-4129-43e6-a67d-9729953b5283)

* <mark style="color:purple;">`File Name`</mark>: Give a name to the AssetBundle file to be exported.
* <mark style="color:purple;">`Avatar Selector`</mark>: The Avatar Selector object created in the current project is automatically included.
* <mark style="color:purple;">`Root Controllers`</mark>: The Root Controller created in the current project is automatically referenced.
* <mark style="color:purple;">`Motion Adapters`</mark>: The Motion Adapters created in the current project are automatically referenced.
* <mark style="color:purple;">`Export`</mark>: Export the AssetBundle.

## Set Variables and Export Avatar AssetBundle

![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FVC68kka145AkYZcxBLzu%2FExporter_2.gif?alt=media\&token=43489945-a96c-4a2a-8a9c-1f1904cefbfa)

1. Create a <mark style="color:purple;">`File Name`</mark> for the AssetBundle to be exported.
2. <mark style="color:purple;">`Avatar Selector`</mark>, <mark style="color:purple;">`Root Controller`</mark>, and <mark style="color:purple;">`Motion Adapters`</mark> 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.
3. Click  <mark style="color:purple;">`Export`</mark> to create the Avatar AssetBundle.
4. Once export is complete, you can check the Android, iOS, Mac, and Windows versions of the Avatar AssetBundle in <mark style="color:purple;">`Assets > ExportedBundle`</mark> in the Project window.

{% hint style="success" %}
**Have a question or an idea?** \
If you have a question to ask or an idea to share, participate in the [MYTY Kit Community](https://discord.com/invite/myty). We’d love to hear from you.:smile:
{% endhint %}
