# Problem about Character Importer

**URL:** <https://forum.convai.com/t/problem-about-character-importer/2552>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [January 17, 2025, 9:14pm UTC](https://forum.convai.com/t/problem-about-character-importer/2552 "2025-01-17T21:14:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Facundo\_Lobo](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/facundo_lobo/32/2816_2.png) [@Facundo\_Lobo](https://forum.convai.com/u/Facundo_Lobo)\
**Post date:** [January 17, 2025, 9:14pm UTC](https://forum.convai.com/t/problem-about-character-importer/2552/1 "2025-01-17T21:14:21Z")

</div>

Hi, I created a new project and imported the last version of Convai but I get this error: CharacterImporterLogic.cs(122,41): error CS0117: ‘DirectoryUtility’ does not contain a definition for ‘GetRelativeProjectPath’.

That function does not exists and I can not import any character, when I try it from the Convai SDK Panel it’s says: Please install Ready Player Me SDK to import a character.

Can anyone help me? Thanks

Edit: I found the solution, I fixed it importing the Ready Player Me SDK from de Unity Asset Store

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [January 17, 2025, 10:14pm UTC](https://forum.convai.com/t/problem-about-character-importer/2552/2 "2025-01-17T22:14:56Z")

</div>

Hello @Facundo\_Lobo,

**Welcome to the Convai Developer Forum!**

Could you please check this post?

> [@‘DirectoryUtility’ does not contain a definition for ‘GetRelativeProjectPath’](https://forum.convai.com/t/directoryutility-does-not-contain-a-definition-for-getrelativeprojectpath/2503/16):
>
> Thank you for sharing the issue in detail. It’s now clear that the problem isn’t specific to the WebSDK or Core SDK. A few hours ago, Ready Player Me released a major update that caused changes affecting the character import script. As a result, we need to release an update to address this. Temporary Fix: To solve the problem temporarily, replace the line that shows the error with this code. string path = Path.Combine("Assets", "Avatars", AvatarCache.GetAvatarConfigurationHash(avatarLoaderSet…

---

<div class="post-metadata">

**Author:** ![KOSHI\_TAKU](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/koshi_taku/32/2820_2.png) [@KOSHI\_TAKU](https://forum.convai.com/u/KOSHI_TAKU)\
**Post date:** [January 18, 2025, 9:00am UTC](https://forum.convai.com/t/problem-about-character-importer/2552/3 "2025-01-18T09:00:12Z")

</div>

After making the changes to the script code above and resolving the errors in this topic, when entering the Character ID and importing via the Convai SDK Setup’s Character Importer, the character is generated in the Scene. However, the console shows the error `[Error][Character]: Value cannot be null. Parameter name: instanceRoot`, and even after playing the scene in Unity, the character does not display animation or the conversation UI. Additionally, the character’s object name is not reflecting the character’s name.

Is there a current solution to this issue?

The version of Convai imported from Unity Asset Store is 3.2.0.  
Using Unity version is 2022.3.20f1

 ![ErrorCharacterValue cannot be null](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/5/51ff1f4e1aaa66dd8b776fe76b91395e987e684e.png)  
 ![ConvaiVersion 3.2.0](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/2/27c0538c4fb76150269847462b5445d6cb662ada.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [January 18, 2025, 9:04am UTC](https://forum.convai.com/t/problem-about-character-importer/2552/4 "2025-01-18T09:04:20Z")

</div>

Ready Player Me’s recent updates seem to be causing this issue.

For now, I recommend importing **Ready Player Me (RPM)** from the Unity Asset Store, as it still uses the older version.

### Steps to Resolve:

1. Remove the currently installed RPM package from your project using **Package Manager**.
2. Import the RPM package from the following link:  
[Ready Player Me - Unity Asset Store](https://assetstore.unity.com/packages/tools/game-toolkits/ready-player-me-avatar-and-character-creator-259814)

This should resolve the issue. Let us know if you encounter further challenges! 😊

---

<div class="post-metadata">

**Author:** ![KOSHI\_TAKU](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/koshi_taku/32/2820_2.png) [@KOSHI\_TAKU](https://forum.convai.com/u/KOSHI_TAKU)\
**Post date:** [January 18, 2025, 12:51pm UTC](https://forum.convai.com/t/problem-about-character-importer/2552/5 "2025-01-18T12:51:23Z")

</div>

Thank you for your response. After following the steps you provided to uninstall and import ReadyPlayerMe, the issue has been resolved. I hope that in future updates of the ConvaiSDK, this issue will not occur without needing to follow these steps. Thank you for your assistance!

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [January 18, 2025, 12:54pm UTC](https://forum.convai.com/t/problem-about-character-importer/2552/6 "2025-01-18T12:54:10Z")

</div>

**Thank you for your feedback!**

Unfortunately, this issue arose due to factors beyond our control. **Ready Player Me (RPM)** introduced significant changes, which led to some incompatibilities.

We’ve already prepared an updated package to address this issue. However, it’s currently under review by the **Unity Asset Store** team, as they need to test and approve it before it becomes available.

We appreciate your understanding and patience, and we’re here to assist you with any further questions or concerns! 😊

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/e60ef96aa7334c5ccf6682f6c6dbc20fcfa96b49.png) [@system](https://forum.convai.com/u/system)\
**Post date:** [January 20, 2025, 12:54pm UTC](https://forum.convai.com/t/problem-about-character-importer/2552/7 "2025-01-20T12:54:12Z")

</div>

Closed on January 20, 2025, 12:54pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [January 23, 2025, 4:02pm UTC](https://forum.convai.com/t/problem-about-character-importer/2552/8 "2025-01-23T16:02:03Z")

</div>

The **3.2.2 update** has been released.

You can update it directly from the **Package Manager**. Let us know if you encounter any issues or need assistance! 😊
