# ‘DirectoryUtility’ does not contain a definition for ‘GetRelativeProjectPath’

**URL:** <https://forum.convai.com/t/directoryutility-does-not-contain-a-definition-for-getrelativeprojectpath/2503>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [January 15, 2025, 11:01am UTC](https://forum.convai.com/t/directoryutility-does-not-contain-a-definition-for-getrelativeprojectpath/2503 "2025-01-15T11:01:17Z")\
**Posts on this page:** 1\
**Showing post:** 16

<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 15, 2025, 5:03pm UTC](https://forum.convai.com/t/directoryutility-does-not-contain-a-definition-for-getrelativeprojectpath/2503/16 "2025-01-15T17:03:02Z")

</div>

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.

```cs
string path = Path.Combine("Assets", "Avatars", AvatarCache.GetAvatarConfigurationHash(avatarLoaderSettings.AvatarConfig).ToString(), args.Avatar.name);

```

Also, make sure to include the **[System.IO](http://System.IO)** namespace in your script:

```auto
using System.IO;

```

Thank you for reporting this issue! We appreciate your patience while we work on a permanent fix. 😊

❗ **EDIT: Please use the latest update of the Convai SDK. You don’t need to use this. It may cause different issues.**

---

_[View the full topic](https://forum.convai.com/t/directoryutility-does-not-contain-a-definition-for-getrelativeprojectpath/2503)._
