K3
November 5, 2024, 11:08am
1
Original Discord Post by wklr1 | 2024-11-05 11:08:35
Hi. I came across some amazing videos related to Convai a few days ago and have been dealing with them. I’ve been trying them all the time without any problems and all of a sudden I’m getting the error below. Problems occur with built programs
Convai.Scripts.Runtime.Core.ConvaiGRPCAPI.ProcessAudioChunk (Grpc.Core.AsyncDuplexStreamingCall`2[TRequest,TResponse] call, System.Int32 diff, System.Collections.Generic.IReadOnlyList`1[T] audioData) (at Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs:507)
Convai.Scripts.Runtime.Core.ConvaiGRPCAPI.ProcessAudioContinuously (Grpc.Core.AsyncDuplexStreamingCall`2[TRequest,TResponse] call, System.Int32 recordingFrequency, System.Int32 recordingLength, UnityEngine.AudioClip audioClip) (at Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs:423)
Convai.Scripts.Runtime.Core.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, System.String speakerID) (at Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs:307)
Convai.Scripts.Runtime.Core.ConvaiNPC.StartListening () (at Assets/Convai/Scripts/Runtime/Core/ConvaiNPC.cs:349)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <c0b7b90d34a54066a7234dad69255116>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <2d8783c7af0442318483a199a473c55b>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <2d8783c7af0442318483a199a473c55b>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <2d8783c7af0442318483a199a473c55b>:0)
I don’t think PlayerDataSO is generated correctly in the Convai API when I imported it from runtime and generated the Speaker ID. How can I fix it?
Images:
K3
November 5, 2024, 11:10am
2
Reply by k3kalinix | 2024-11-05 11:10:06
Hello <@809398820517183510>,
K3
November 5, 2024, 11:10am
3
Reply by k3kalinix | 2024-11-05 11:10:11
Welcome to Convai Community!
K3
November 5, 2024, 11:10am
4
Reply by k3kalinix | 2024-11-05 11:10:29
Which version of the Convai SDK are you using?
K3
November 5, 2024, 11:11am
5
Replying to k3kalinix’s Message
Reply by k3kalinix | 2024-11-05 11:10:29
Which version of the Convai SDK are you using?
Reply by wklr1 | 2024-11-05 11:11:38
I use Convai SDK 3.2.0
K3
November 5, 2024, 11:12am
6
Reply by k3kalinix | 2024-11-05 11:12:23
Could you please show me the PlayerDataSO (Assets/Convai/Resources)
K3
November 5, 2024, 11:13am
7
Reply by wklr1 | 2024-11-05 11:13:26
Should I show it like this?
Images:
K3
November 5, 2024, 11:13am
8
Reply by k3kalinix | 2024-11-05 11:13:31
Okay
K3
November 5, 2024, 11:13am
9
Reply by k3kalinix | 2024-11-05 11:13:39
Disable Create Speaker ID If Not Found
K3
November 5, 2024, 11:13am
10
Reply by k3kalinix | 2024-11-05 11:13:56
Reset data and delete
K3
November 5, 2024, 11:16am
11
Replying to k3kalinix’s Message
Reply by k3kalinix | 2024-11-05 11:13:56
Reset data and delete
Reply by wklr1 | 2024-11-05 11:16:39
Unfortunately, the same error log is coming out
Images:
K3
November 5, 2024, 11:17am
12
Reply by wklr1 | 2024-11-05 11:17:29
Cannot find speaker with id
K3
November 5, 2024, 11:18am
13
Reply by k3kalinix | 2024-11-05 11:18:01
Okay
K3
November 5, 2024, 11:19am
14
Reply by k3kalinix | 2024-11-05 11:19:02
Could you please follow these steps?
Images:
K3
November 5, 2024, 11:19am
15
Reply by k3kalinix | 2024-11-05 11:19:02
Embedded Content:
Long Term Memory | Documentation
Learn how to enable character retain conversation history across multiple sessions
Link: Long Term Memory | Documentation
K3
November 5, 2024, 11:25am
16
Replying to k3kalinix’s Message
Reply by k3kalinix | 2024-11-05 11:19:02
Could you please follow these steps?
Reply by wklr1 | 2024-11-05 11:25:05
Yes, I kept checking the procedures involved in setting up the LTM and built the program after running it. It works well in the editor, but I don’t know why it repeats in the built state.
K3
November 5, 2024, 11:25am
17
Reply by k3kalinix | 2024-11-05 11:25:52
Can I see the LTM tab in Unity?
K3
November 5, 2024, 11:27am
18
Replying to k3kalinix’s Message
Reply by k3kalinix | 2024-11-05 11:25:52
Can I see the LTM tab in Unity?
Reply by wklr1 | 2024-11-05 11:27:55
Images:
K3
November 5, 2024, 11:28am
19
Reply by k3kalinix | 2024-11-05 11:28:17
okay
K3
November 5, 2024, 11:28am
20
Reply by k3kalinix | 2024-11-05 11:28:21
which scene are you using?