Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Crash when InputDevice of SpeechRecognition is set to anything other than Default #258

Open
yeczrtu opened this issue May 7, 2024 · 1 comment

Comments

@yeczrtu
Copy link

yeczrtu commented May 7, 2024

The device ID is taken from the Get Available Audio Input Devices function; Is Audio Input Device ID Valid returns True, so the ID is correct.

version
https://github.com/lucoiso/UEAzSpeech/releases/tag/v1.6.18

UE5.3.2

Callstack

Unhandled exception at 0x00007FFCD2C253AC in UnrealEditor.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000BCAD62F930.

 	KernelBase.dll!00007ffcd2c253ac()	Unknown
 	vcruntime140.dll!00007ffcbfab6ba7()	Unknown
>	UnrealEditor-AzSpeech.dll!__azac_handle_native_ex(unsigned __int64 hr, bool throwException) Line 709	C++
 	[Inline Frame] UnrealEditor-AzSpeech.dll!__azac_rethrow(unsigned __int64) Line 724	C++
 	UnrealEditor-AzSpeech.dll!Microsoft::CognitiveServices::Speech::SpeechRecognizer::FromConfig(std::shared_ptr<Microsoft::CognitiveServices::Speech::SpeechConfig> speechconfig, std::shared_ptr<Microsoft::CognitiveServices::Speech::Audio::AudioConfig> audioInput) Line 100	C++
 	UnrealEditor-AzSpeech.dll!FAzSpeechRecognitionRunnableBase::InitializeAzureObject() Line 223	C++
 	UnrealEditor-AzSpeech.dll!FAzSpeechRunnableBase::Run() Line 86	C++
 	[Inline Frame] UnrealEditor-AzSpeech.dll!FAzSpeechRecognitionRunnableBase::Run() Line 27	C++
 	UnrealEditor-AzSpeech.dll!FAzSpeechRecognitionRunnable::Run() Line 21	C++
 	UnrealEditor-Core.dll!FRunnableThreadWin::Run() Line 149	C++
 	UnrealEditor-Core.dll!FRunnableThreadWin::GuardedRun() Line 71	C++
 	kernel32.dll!00007ffcd4ba257d()	Unknown
 	ntdll.dll!00007ffcd55caa48()	Unknown
@yeczrtu
Copy link
Author

yeczrtu commented May 7, 2024

Both Speech to Text with Default Options and Speech to Text with Custom Options crash.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant