# Troubleshooting & FAQ

<details>

<summary>How to migrate old version project files to the new MYTY Kit?</summary>

1. Back up your original project. **Backup is always important when we migrate something.**
2. In the Project panel, Choose <mark style="color:purple;">`Assets`</mark> and delete the <mark style="color:purple;">`MYTY Kit`</mark> and <mark style="color:purple;">`Editor`</mark> folders.
3. Open the Package Manager window, click the ✚ button in the upper left corner, and select <mark style="color:purple;">`Add package from git URL...`</mark>
4. Copy and paste `https://github.com/Off-Live/myty-kit.git?path=/Assets` and click the <mark style="color:purple;">`Add`</mark> button.
5. After adding MYTY Kit, in the header tab, click <mark style="color:purple;">`MYTY Kit > Migrate`</mark>.
6. Click the <mark style="color:purple;">`Migrate Adapters`</mark>. The migration is done! Click the <mark style="color:purple;">`▶️(Play)`</mark> button and check it works well. \
   <img src="https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FFIzwCuEKtvM1d06x5ZXB%2FScreen%20Shot%202022-10-28%20at%201.59.09%20PM.png?alt=media&#x26;token=330a2626-a2be-49cf-97fe-08165426d73b" alt="" data-size="original">

💡 This migration process **may not work if you are using custom motion adapters** or a MediaPipe object not in prefab, then this migration process may not work. If you have any difficulty in migration, please contact [MYTY Team](https://discord.com/invite/myty).

</details>

<details>

<summary>I imported a PSB file, but its sprites are not visible.</summary>

The 2D PSD Import Package may not be installed in the project file. You can install 2D PSD Import Package in the following way.&#x20;

1. In the header tab, select `Window > Package Manager` to open the Package Manager window.\
   ![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2F08LLwvlWZbTceGv81pUG%2Fpackage%20manager.gif?alt=media\&token=28cde155-73fb-4b49-9e91-a5a1460b3e15)
2. Click the `Packages tab` in the upper left corner and change to `Unity Registry`. After selecting `2D PSD Importer` in the Packages group, click the `Install` button at the bottom right .\
   <img src="https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FGLmLsbYhzkKtgOQE3v64%2Finstall%202d%20psd%20importer.gif?alt=media&#x26;token=850ff5b4-73d9-4b69-9adb-56d6e8a1ae54" alt="" data-size="original">

</details>

<details>

<summary>Can a sprite image contain an 'alpha channel'?</summary>

Most likely, it works well when pixels with alpha channel values are **surrounded by pixels with no alpha channel values**.

<img src="https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FdiVMIV1E7h1FocPT70qO%2Falpha%20channel.png?alt=media&#x26;token=b067d99c-84ff-4de8-9fd2-98b0613919ff" alt="" data-size="original">

**Requires to edit geometry manually** when transparency image is not surrounded by pixels with no alpha channel values.

<img src="https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FeuXjaFCDqi9RSqyi7TjF%2Falpha%20channel_3.png?alt=media&#x26;token=6fa6abe5-0005-4dbc-933c-235196de9ab6" alt="" data-size="original"> Before

![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2F3oI5M20YCR09PPoU7Aqm%2Falpha%20channel_2.png?alt=media\&token=1db3c3ad-b57d-47d0-8a5e-4e51b14a51c7) After

</details>

<details>

<summary>The required modules did not get installed with the Unity Editor.</summary>

You can install additional required modules from Unity hub:

1. In the Installs tab of Unity Hub, click the ⚙︎ icon in the Unity Editor.
2. Select the checkbox of required module(s) and click the Install button.\
   <img src="https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FVzWDJ1jF6i1i8YqeLMyD%2Fadd%20module.gif?alt=media&#x26;token=49ec9d87-2ac3-41b2-ba44-b0a01b124e13" alt="" data-size="original">

</details>

<details>

<summary>The MediaPipeMotionPackage object can't track my movements.</summary>

The input camera may not be selected correctly. Follow the steps below to change the input camera.

1. In the left Hierarchy window, select <mark style="color:purple;">`MediapipeMotionPack > MediapipeRunner > CameraSource.`</mark>\
   <img src="https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2Fwi6RrllX3DvCbVmrbhyE%2FScreen%20Shot%202022-10-20%20at%2011.21.38%20PM.png?alt=media&#x26;token=c5cc3925-0ed1-430a-8284-fa426694cca5" alt="" data-size="original">

1) In the Inspector window, go to the Camera Source section and click the Webcam's drop menu. You'll see a list of available cameras. Select the correct input camera and try playing the project again.\
   ![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FLgmjqil3Pa1Zr5FAaZqn%2Fcamera%20source.gif?alt=media\&token=d13baf83-986c-4fac-9c4a-f398b0745e8c)

</details>

<details>

<summary>Can I replace the PSB or the trait mapping file while creating a MYTY Avatar?</summary>

It _is_ possible to replace the PSB or the trait mapping file while creating an avatar. But it is not recommended, as unknown compatibility issues may occur. However, you can try it by replacing assets in the directory of the Unity project file. Be sure to back up the project before replacing it.

</details>

<details>

<summary>How to change the Unity Editor version of a project file</summary>

1\. In Unity Hub, click the project's <mark style="color:purple;">`Editor version`</mark> and select the version you want to change to.

![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2F0BEheQbzOclYGsIQrBgt%2Fimport%20myty%20kit_2.gif?alt=media\&token=1fb42e02-68ab-4260-a3b3-2dab10603718)

2\. When the following window appears, click <mark style="color:purple;">`Change version`</mark>.

<img src="https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2Fer8217FJOaUZ9JA2LjZr%2FScreen%20Shot%202022-06-13%20at%2010.58.32%20AM.png?alt=media&#x26;token=7c769406-64cf-409f-96d5-200f44707e32" alt="" data-size="original">

3\. When the window below appears, click <mark style="color:purple;">`Continue`</mark>.

![](https://1381431913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6CBs7vCLqptAiFUTrCYl%2Fuploads%2FFr9wvz9ECDU15oVeZKBq%2FScreen%20Shot%202022-06-13%20at%2010.59.09%20AM.png?alt=media\&token=9183a376-6d7f-4b1f-a62d-0643e173531e)

</details>



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