When the main character tries to communicate with other avatars, pressing "T" prevents communication

Can anyone help or guide related this issue please?

[Error][Character]: System.NullReferenceException: Object reference not set to an instance of an object
at Convai.Scripts.Utils.ConvaiGRPCAPI.StartRecordAudio (Service.ConvaiService+ConvaiServiceClient client, System.Boolean isActionActive, System.Boolean isLipSyncActive, System.Int32 recordingFrequency, System.Int32 recordingLength, System.String characterID, Service.ActionConfig actionConfig, Service.FaceModel faceModel) [0x0006a] in /Users/busemugur/Desktop/9.55pm/Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs:320
[Stack Trace - Method: MoveNext, at Line: 324 in File: /Users/busemugur/Desktop/9.55pm/Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs]
UnityEngine.Debug:LogError (object)
Convai.Scripts.Utils.Logger:LogMessage (string,Convai.Scripts.Utils.Logger/LogLevel,Convai.Scripts.Utils.Logger/LogCategory,object[]) (at Assets/Convai/Scripts/Runtime/LoggerSystem/Logger.cs:138)
Convai.Scripts.Utils.Logger:Error (string,Convai.Scripts.Utils.Logger/LogCategory,object[]) (at Assets/Convai/Scripts/Runtime/LoggerSystem/Logger.cs:185)
Convai.Scripts.Utils.Logger:Error (object,Convai.Scripts.Utils.Logger/LogCategory) (at Assets/Convai/Scripts/Runtime/LoggerSystem/Logger.cs:165)
Convai.Scripts.Utils.ConvaiGRPCAPI/d__13:MoveNext () (at Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs:324)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Startd__13> (Convai.Scripts.Utils.ConvaiGRPCAPI/d__13&)
Convai.Scripts.Utils.ConvaiGRPCAPI:StartRecordAudio (Service.ConvaiService/ConvaiServiceClient,bool,bool,int,int,string,Service.ActionConfig,Service.FaceModel)
Convai.Scripts.ConvaiNPC/d__89:MoveNext () (at Assets/Convai/Scripts/Runtime/Core/ConvaiNPC.cs:322)
System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Startd__89> (Convai.Scripts.ConvaiNPC/d__89&)

Hello,

Welcome to the Convai Developer Forum!

Could you please clarify why you are using the older version? Is there a specific reason you are not using the latest version?

I just updated latest version Convai from SDK. Then this errors occured.

You cannot update directly from that version, as the version you were using was very old.

Please remove all Convai related files from your project and install the latest SDK again from scratch.

I solved the problem with an older version of my Unity project. Now I updates Unity version 6000.4.10f1. I’m using a very old version of Convai here. I want to update it without any problems, just like Unity. What do you recommend for this? Is removing all Convai files from my project and re-downloading them from the SDK the best way do that?

Is this a new project?

No. It’s old project. That’s why I just want to upgrade convai. Because I couldn’t safely close project and keep forward. I think Convai threads are blocking shutdown.

What I meant is: did you import Convai into this project recently, or was it already working before?

It was already working.

and still working. Just need to update convai latest version. should i just upgrade from SDK? Because i have a lot of scripts related convai.

In V4, the SDK has been completely rebuilt, so unfortunately this kind of direct migration is not possible.

It is similar to upgrading a project from Unity 2020 to Unity 6.4, trying to directly carry everything over may create even more issues.

Please make sure to back up your project first, then follow the latest documentation and set up the V4 SDK accordingly.

Appreciate it your support mate!