K3
August 20, 2024, 7:06pm
1
Original Discord Post by focuskontrol | 2024-08-20 19:06:05
I’m using Unreal 5.3 and every now and then with longer NPC speech, the speech quiets down all of a sudden and then Unreal crashes.
It seemed to happen more with Elevenlabs voices, but also happens with my current Azure voice.
K3
August 20, 2024, 7:06pm
2
Reply by focuskontrol | 2024-08-20 19:06:25
Here’s a log:
LoginId:790c90c24008daf4c3faeea3e0a4cf40
EpicAccountId:73941dc646124e3b8b5e0ed6c8b7bb77
Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\AudioDevice.cpp] [Line: 5933]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Convai!UConvaiAudioStreamer::PlayVoiceData() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiAudioStreamer.cpp:215]
UnrealEditor_Convai!UConvaiAudioStreamer::PlayVoiceSynced() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiAudioStreamer.cpp:130]
UnrealEditor_Convai!UConvaiAudioStreamer::AddPCMDataToSend() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiAudioStreamer.cpp:705]
UnrealEditor_Convai!UConvaiChatbotComponent::onResponseDataReceived() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiChatbotComponent.cpp:761]
UnrealEditor_Convai!TBaseUObjectMethodDelegateInstance<0,UConvaiChatbotComponent,void __cdecl(FString,TArray<unsigned char,TSizedDefaultAllocator<32> > const &,unsigned int,bool),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\RocketSync\5.3.0-27405482+++UE5+Release-5.3\Working\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:665]
K3
August 20, 2024, 7:06pm
3
Reply by focuskontrol | 2024-08-20 19:06:27
UnrealEditor_Convai!TDelegate<void __cdecl(FString,TArray<unsigned char,TSizedDefaultAllocator<32> > const &,unsigned int,bool),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [D:\RocketSync\5.3.0-27405482+++UE5+Release-5.3\Working\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:570]
UnrealEditor_Convai!FThreadSafeDelegateWrapper<TDelegate<void __cdecl(FString,TArray<unsigned char,TSizedDefaultAllocator<32> > const &,unsigned int,bool),FDefaultDelegateUserPolicy> >::ExecuteIfBound<FString &,TArray<unsigned char,TSizedDefaultAllocator<32>() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ConvAI\Source\Convai\Public\ConvaiDefinitions.h:967]
UnrealEditor_Convai!UConvaiGRPCGetResponseProxy::OnStreamRead() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiGRPC.cpp:799]
UnrealEditor_Convai!TBaseUObjectMethodDelegateInstance<0,UConvaiGRPCGetResponseProxy,void __cdecl(bool),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\RocketSync\5.3.0-27405482+++UE5+Release-5.3\Working\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667]
UnrealEditor_Convai!FgRPCClient::Run() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiSubsystem.cpp:211]
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll
K3
August 20, 2024, 7:12pm
4
Reply by focuskontrol | 2024-08-20 19:12:41
char_id: 31978a2c-5814-11ef-8a40-42010a7be011
It seems to mostly happen with this section: 82441b46-5d3e-11ef-9abc-42010a7be011
K3
August 21, 2024, 10:28pm
5
Reply by k3kalinix | 2024-08-21 22:28:56
<@&1163218672580575372>
K3
August 21, 2024, 10:31pm
6
Reply by freezfast | 2024-08-21 22:31:07
Hi <@249594950071746561>, this error usually happens when switching character IDs at runtime, where the two characters have different voice categories (i.e. Elevenlab and Azure voices), could you confirm if that is the case?
K3
August 22, 2024, 4:29am
7
Reply by focuskontrol | 2024-08-22 04:29:16
Hey, this is not the case. So far I’ve been just using 1 character at a time, always while using narrative design. But it did happen more often with a elevenlabs voice. Right now I’m using an Azure one.
K3
August 22, 2024, 4:55am
8
Reply by focuskontrol | 2024-08-22 04:55:28
Sometimes it happens when I send an invoke trigger in between while he’s still talking.
K3
August 22, 2024, 4:03pm
9
Reply by freezfast | 2024-08-22 16:03:41
Strange, perhaps you’re changing the character’s voice while the app is running?
K3
August 22, 2024, 4:04pm
10
Reply by freezfast | 2024-08-22 16:04:20
<@1216254232957685765> could you try replicating this issue using the character ID?
K3
August 23, 2024, 7:52am
11
Replying to freezfast’s Message
Reply by freezfast | 2024-08-22 16:03:41
Strange, perhaps you’re changing the character’s voice while the app is running?
Reply by focuskontrol | 2024-08-23 07:52:14
nah, I’m not doing anything like that. Currently in my demo I have just 1 character with 1 voice that I interact with. But yeah, it’s pretty difficult to replicate since it doesn’t happen every time. But it did happen more when I was using an elevenlabs voice.
K3
Closed
November 25, 2024, 12:14pm
12
This conversation happened on the Convai Discord Server, so this post will be closed.