# CS0518: Predefined type 'System.IAsyncDisposable' is not defined or imported

**URL:** <https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [August 19, 2024, 4:04am UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457 "2024-08-19T04:04:08Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [August 19, 2024, 4:04am UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/1 "2024-08-19T04:04:08Z")

</div>

**Original Discord Post by erenbr | 2024-08-19 04:04:08**

Assets\Convai\Scripts\Editor\Character\ConvaiCharacterImporter.cs(145,13): error CS0518: Predefined type ‘System.IAsyncDisposable’ is not defined or imported  
Assets\Convai\Scripts\Editor\Character\ConvaiCharacterImporter.cs(151,17): error CS0518: Predefined type ‘System.IAsyncDisposable’ is not defined or imported

Hello, our company’s developers have just imported Convai into the project, however, we are having this problem and are waiting for a solution, thank you!

**Images:**

 ![01.jpg](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/0/024c71ff36d9c32e70ba3a1e481247641f1b9da6.jpeg)

---

<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:** [August 19, 2024, 6:16am UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/2 "2024-08-19T06:16:38Z")

</div>

**Reply by k3kalinix | 2024-08-19 06:16:38**

Hello \<@324205482061463553\>,

Could you please restart the project?

---

<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:** [August 19, 2024, 5:54pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/3 "2024-08-19T17:54:56Z")

</div>

**Reply by erenbr | 2024-08-19 17:54:56**

Still having the same problem! 😦

---

<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:** [August 19, 2024, 5:55pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/4 "2024-08-19T17:55:28Z")

</div>

**Reply by erenbr | 2024-08-19 17:55:28**

I’ve even tried deleting the Convai folder and downloading the asset again, however, same problem!

---

<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:** [August 19, 2024, 5:58pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/5 "2024-08-19T17:58:22Z")

</div>

**Reply by k3kalinix | 2024-08-19 17:58:22**

This is not happening in your own project, right?

It only happens in your friend’s project.

---

<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:** [August 19, 2024, 5:58pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/6 "2024-08-19T17:58:44Z")

</div>

**Reply by k3kalinix | 2024-08-19 17:58:44**

I think client side problem.  
Also officially we don’t support Unity 2021.

---

<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:** [August 19, 2024, 6:00pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/7 "2024-08-19T18:00:00Z")

</div>

**Reply by erenbr | 2024-08-19 18:00:00**

But if it doesn’t support 2021, how am I able to make it work in a project in 2021? However, from another company.

---

<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:** [August 19, 2024, 6:00pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/8 "2024-08-19T18:00:25Z")

</div>

**Reply by k3kalinix | 2024-08-19 18:00:25**

As i said Officially we don’t support.  
You have to do some changes.

---

<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:** [August 19, 2024, 6:04pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/9 "2024-08-19T18:04:22Z")

</div>

**Reply by erenbr | 2024-08-19 18:04:22**

Yes, the only error I’m having is the one in the image.

---

<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:** [August 19, 2024, 6:04pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/10 "2024-08-19T18:04:41Z")

</div>

**Reply by k3kalinix | 2024-08-19 18:04:41**

I have never seen this error before.

---

<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:** [August 19, 2024, 6:05pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/11 "2024-08-19T18:05:05Z")

</div>

**Reply by erenbr | 2024-08-19 18:05:05**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/8/8a5daa1445a92d12fd6426763b4c8d72d728d85b.jpeg)

---

<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:** [August 19, 2024, 6:05pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/12 "2024-08-19T18:05:17Z")

</div>

**Reply by erenbr | 2024-08-19 18:05:17**

See, it’s in 2021 and it’s working perfectly!

---

<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:** [August 19, 2024, 6:05pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/13 "2024-08-19T18:05:32Z")

</div>

**Reply by k3kalinix | 2024-08-19 18:05:32**

Could you please show me NavMesh Package?

---

<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:** [August 19, 2024, 9:15pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/14 "2024-08-19T21:15:59Z")

</div>

**Reply by erenbr | 2024-08-19 21:15:59**

I managed to find the problem, Convai is incompatible with Xsolla.

---

<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:** [August 19, 2024, 9:16pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/15 "2024-08-19T21:16:11Z")

</div>

**Reply by erenbr | 2024-08-19 21:16:11**

Would you have any solution? Thanks!

---

<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:** [August 19, 2024, 9:16pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/16 "2024-08-19T21:16:39Z")

</div>

**Reply by k3kalinix | 2024-08-19 21:16:39**

I don’t know what is it

---

<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:** [August 19, 2024, 9:17pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/17 "2024-08-19T21:17:24Z")

</div>

**Reply by k3kalinix | 2024-08-19 21:17:24**

This is a just simple Character Importer.

---

<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:** [August 19, 2024, 9:20pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/18 "2024-08-19T21:20:03Z")

</div>

**Reply by erenbr | 2024-08-19 21:20:03**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/f/f4e39d0c4a4a4302efc4e888eedbcb1f060c2e78.jpeg)

---

<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:** [August 19, 2024, 9:20pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/19 "2024-08-19T21:20:30Z")

</div>

**Reply by erenbr | 2024-08-19 21:20:30**

Xsolla is the API we use to receive payments from customers.

---

<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:** [August 19, 2024, 9:20pm UTC](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457/20 "2024-08-19T21:20:36Z")

</div>

**Reply by erenbr | 2024-08-19 21:20:36**

Like a fortnite, roblox, etc

[Next page](https://forum.convai.com/t/cs0518-predefined-type-system-iasyncdisposable-is-not-defined-or-imported/1457.md?page=2)
