FadeCanvas error when trying to import Convai into existing Unity 2022.3.20f1 project

Original Discord Post by leean1 | 2024-10-09 21:58:00

Hi,

I am getting the following error whenever I try to import Convai into Unity. Assets\Convai\Scripts\Runtime\Addons\NotificationSystem\UINotificationController.cs(171,25): error CS1061: ‘FadeCanvas’ does not contain a definition for ‘StartFadeInFadeOutWithGap’ and no accessible extension method ‘StartFadeInFadeOutWithGap’ accepting a first argument of type ‘FadeCanvas’ could be found (are you missing a using directive or an assembly reference?) Is there some dependency that I am missing here?

Reply by k3kalinix | 2024-10-09 22:04:29

Hello <@245693435317714955> :wave:t2:,

Reply by k3kalinix | 2024-10-09 22:05:51

Is this a new project?

Reply by leean1 | 2024-10-09 22:06:32

No it is not. I have completed some previous work on it.

Reply by k3kalinix | 2024-10-09 22:07:11

Are you trying to update the Convai SDK?

Reply by leean1 | 2024-10-09 22:08:27

No I am trying to import the Convai SDK into the existing project.

Reply by k3kalinix | 2024-10-09 22:08:31

Okay

Reply by k3kalinix | 2024-10-09 22:09:02

Which version of the Convai SDK are you using?

Reply by leean1 | 2024-10-09 22:10:33

3.1.2

Reply by k3kalinix | 2024-10-09 22:10:50

Okay perfect

Reply by k3kalinix | 2024-10-09 22:11:51

I have never seen this problem before.
Did you try restarting the project?

Reply by leean1 | 2024-10-09 22:12:24

Yes I have

Reply by k3kalinix | 2024-10-09 22:12:33

Okay

Reply by k3kalinix | 2024-10-09 22:13:00

Can you please share screenshots of the errors?

Reply by leean1 | 2024-10-09 22:15:38

Sure

Images:

Reply by k3kalinix | 2024-10-09 22:16:48

Can you double click on it?

Reply by leean1 | 2024-10-09 22:17:15

Images:

Reply by leean1 | 2024-10-09 22:17:38

inside of UINotificationController.cs

Reply by k3kalinix | 2024-10-09 22:17:50

Can you comment this line

Reply by leean1 | 2024-10-09 22:17:53

ok