Hi team
I’m currently integrating Convai’s AI NPC system into my Unity project. Things were working earlier, but after some recent changes, every time I try to talk to the NPC (via key ‘T’), the Unity Editor pauses execution, and I get no response from the character. It shows I have run out of usage, but I already subscribe after this error shows. Below are the full error logs I’m seeing:
error:
NullReferenceException while executing ‘performed’ callbacks of ‘Player/Talk[/Keyboard/t]’
UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>c__DisplayClass7_0:<set_onUpdate>b__0 (UnityEngineInternal.Input.NativeInputUpdateType, UnityEngineInternal.Input.NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate (UnityEngineInternal.Input.NativeInputUpdateType, intptr)
Convai.Scripts.Runtime.UI.ConvaiCrosshairHandler+<>c__DisplayClass5_0.b__0 (System.Collections.Generic.KeyValuePair2[TKey,TValue] kvp) (at Assets/Convai/Scripts/Runtime/UI/CanvasItems/ConvaiCrosshairHandler.cs:62) System.Linq.Enumerable+WhereEnumerableIterator
1[TSource].MoveNext ()
[Error][Character]: Grpc.Core.RpcException: Status(StatusCode=Cancelled, Detail=“Cancelled”)
at Grpc.Core.Internal.ClientResponseStream`2[TRequest,TResponse].MoveNext (System.Threading.CancellationToken token)
at Convai.Scripts.Runtime.Core.ConvaiGRPCAPI.ReceiveResultFromServer (…)
at Convai.Scripts.Runtime.Core.ConvaiGRPCAPI+<>c__DisplayClass36_0.b__0 ()
at Convai.Scripts.Runtime.Core.ConvaiGRPCAPI.SendTriggerData (…)
All I want is to be able to talk to NPCS. Hope to hear from you guys soon. Thx