Unity freeze with RpcException error

I have a character in Unity that when I talk to it suddenly pauses/freezes the play mode. This happens often, but not always. Maybe 8 of 10 interactions makes it freeze.
My character ID: b1e6bedc-40fd-11f0-9f3f-42010a7be01f

“session Id”: “0377917dec0775ba3f55398da38692bc”

My Convai version is 3.2.4

<color=orange>[Exception][Character]: RpcException: Status(StatusCode=Internal, Detail=“Received RST_STREAM with error code 2”)
at Grpc.Core.Internal.ClientResponseStream2[TRequest,TResponse].MoveNext (System.Threading.CancellationToken token) [0x00114] in <a15c3a9d71174e258510eb391d72d345>:0 at Convai.Scripts.Runtime.Core.ConvaiGRPCAPI.ReceiveResultFromServer (Grpc.Core.AsyncDuplexStreamingCall2[TRequest,TResponse] call, System.Threading.CancellationToken cancellationToken, Convai.Scripts.Runtime.Core.ConvaiNPC npc) [0x0007f] in C:\Users\admin\My project\Assets\Convai\Scripts\Runtime\Core\ConvaiGRPCAPI.cs:669
[Stack Trace - Method: MoveNext, at Line: 705 in File: C:\Users\admin\My project\Assets\Convai\Scripts\Runtime\Core\ConvaiGRPCAPI.cs]
UnityEngine.Debug:LogError (object)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:LogMessage (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogLevel,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:96)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:Exception (string,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory,object) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:145)
Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger:Exception (System.Exception,Convai.Scripts.Runtime.LoggerSystem.ConvaiLogger/LogCategory) (at Assets/Convai/Scripts/Runtime/LoggerSystem/ConvaiLogger.cs:151)
Convai.Scripts.Runtime.Core.ConvaiGRPCAPI/d__24:MoveNext () (at Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs:705)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1<bool>:SetException (System.Exception) Grpc.Core.Internal.ClientResponseStream2/d__5<Service.GetResponseRequest, Service.GetResponseResponse>:MoveNext ()
System.Threading.Tasks.TaskCompletionSource1<object>:SetException (System.Exception) Grpc.Core.Internal.AsyncCall2<Service.GetResponseRequest, Service.GetResponseResponse>:HandleFinished (bool,Grpc.Core.Internal.ClientSideStatus)
Grpc.Core.Internal.AsyncCall`2<Service.GetResponseRequest, Service.GetResponseResponse>:Grpc.Core.Internal.IReceivedStatusOnClientCallback.OnReceivedStatusOnClient (bool,Grpc.Core.Internal.ClientSideStatus)
Grpc.Core.Internal.CallSafeHandle/<>c:<.cctor>b__33_1 (bool,Grpc.Core.Internal.BatchContextSafeHandle,object)
Grpc.Core.Internal.BatchContextSafeHandle:Grpc.Core.Internal.IOpCompletionCallback.OnComplete (bool)
Grpc.Core.Internal.GrpcThreadPool:RunCompletionQueueEventCallback (Grpc.Core.Internal.IOpCompletionCallback,bool)
Grpc.Core.Internal.GrpcThreadPool:<.ctor>b__15_0 (object)
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Hello,

Please share all the logs.

logs.txt (255.8 KB)
Here you go.

Did you make any modifications to the plugin code? It looks like you might have. Please try creating a fresh Unity project, import the Convai Plugin, and test the same character there to see if the issue persists. We can’t reproduce this on our side and haven’t received similar reports, so it’s possible something was accidentally changed in your project.