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

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:

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

Hello <@324205482061463553>,

Could you please restart the project?

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

Still having the same problem! :frowning_with_open_mouth:

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!

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.

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

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

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.

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

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

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

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

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

I have never seen this error before.

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

Images:

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

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

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

Could you please show me NavMesh Package?

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

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

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

Would you have any solution? Thanks!

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

I don’t know what is it

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

This is a just simple Character Importer.

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

Images:

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

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

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

Like a fortnite, roblox, etc