Error while importing a character on Unity

Original Discord Post by yahyaamin1997 | 2024-08-07 07:54:10

Hello everyone, hope you guys are doing well. I am building a virtual receptionist for my Masters project using Unity and Convai. I just started with Convai and I am getting the following error while importing a character:

NullReferenceException: Object reference not set to an instance of an object Convai.Scripts.Utils.ConvaiHeadTracking.PerformHeadTracking () (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:175) Convai.Scripts.Utils.ConvaiHeadTracking.OnAnimatorIK (System.Int32 layerIndex) (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:84)

Also a side question, how do I interact eith the characters after importing them. Sorry Im new to Unity and the characters dont respond when I click on them as shown in the tutorial on Youtube

Reply by k3kalinix | 2024-08-07 07:54:43

Hello <@1270648993868943371>,

Reply by k3kalinix | 2024-08-07 07:54:50

Welcome to Convai Community!

Reply by k3kalinix | 2024-08-07 07:55:43

Could you please clear the console and try again? Then share a screenshot of the console.

Reply by yahyaamin1997 | 2024-08-07 08:02:54

Ok now I can see the imported character. But I get these errors when I run and pause the game scene

Images:

Reply by yahyaamin1997 | 2024-08-07 08:04:02

And sorry for the dumb question, but how do I interact or talk to the character in Unity. I tried clicking on the character after playing the scene but the imported character doesnt talk or interact with me :sweat_smile:

Replying to yahyaamin1997’s Message

Reply by yahyaamin1997 | 2024-08-07 08:02:54
Ok now I can see the imported character. But I get these errors when I run and pause the game scene

Reply by k3kalinix | 2024-08-07 08:13:12

Did you change something?

Replying to yahyaamin1997’s Message

Reply by yahyaamin1997 | 2024-08-07 08:04:02
And sorry for the dumb question, but how do I interact or talk to the character in Unity. I tried clicking on the character after playing the scene but the imported character doesnt talk or interact with me :sweat_smile:

Reply by k3kalinix | 2024-08-07 08:13:51

Press and hold the T key.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-08-07 08:13:51
Press and hold the T key.

Reply by yahyaamin1997 | 2024-08-07 08:26:19

After playing, I held the T key on the keyboard. The character still doesnt respond :sweat_smile:

Reply by k3kalinix | 2024-08-07 08:32:43

Are you available for voice chat?

Reply by k3kalinix | 2024-08-07 09:05:45

<@1270648993868943371>

Reply by yahyaamin1997 | 2024-08-07 09:30:38

Sorry I just left for work :sweat_smile:. Can we schedule it sometime tomorrow if possible for you

Reply by k3kalinix | 2024-08-07 09:34:45

Okey.

Reply by yahyaamin1997 | 2024-08-08 06:29:28

<@1023671043287699568> hey bro can we connect now if you are free

Reply by k3kalinix | 2024-08-08 08:02:12

Hello <@1270648993868943371>,

Sorry i am not available right now.

Reply by yahyaamin1997 | 2024-08-08 08:02:37

Oh ok no worries

Reply by k3kalinix | 2024-08-08 11:19:00

Hello <@1270648993868943371>,

Reply by k3kalinix | 2024-08-08 11:19:02

When are you available?

Reply by yahyaamin1997 | 2024-08-08 12:18:29

Hey can we connect on Saturday if you are free. Im available anytime on Saturday

Reply by k3kalinix | 2024-08-08 19:37:35

Yes, sure.