Whenever I include an Audio Capture component in my projects, I cannot package the project for Windows or Android, and it displays the following error in the output.
Fatal error!
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000223c0cc12d0
0x00000223b3dd28c7 UnrealEditor-AudioCaptureWasapi.dll!Audio::FWasapiStreamManager::~FWasapiStreamManager() [H:\UE_5-3\Engine\Source\Runtime\AudioCaptureImplementations\Windows\AudioCaputureWasapi\Private\WasapiStreamManager.cpp:28]
0x00000223b3dd3138 UnrealEditor-AudioCaptureWasapi.dll!Audio::FAudioCaptureWasapiStream::`scalar deleting destructor'() []
0x00007ffbd79717a0 UnrealEditor-AudioCaptureCore.dll!Audio::FAudioCaptureSynth::~FAudioCaptureSynth() [H:\UE_5-3\Engine\Source\Runtime\AudioCaptureCore\Private\AudioCaptureCore.cpp:185]
0x00007ffbd7944458 UnrealEditor-AudioCapture.dll!UAudioCaptureComponent::`vector deleting destructor'() []
0x00007ffc1cd6203c UnrealEditor-CoreUObject.dll!FAsyncPurge::TickDestroyObjects<0>() [H:\UE_5-3\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:518]
0x00007ffc1cdb03b2 UnrealEditor-CoreUObject.dll!IncrementalDestroyGarbage() [H:\UE_5-3\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4261]
0x00007ffc1cdb09ee UnrealEditor-CoreUObject.dll!IncrementalPurgeGarbage() [H:\UE_5-3\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:3957]
0x00007ffc1cf07ef4 UnrealEditor-CoreUObject.dll!StaticExit() [H:\UE_5-3\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:5121]
0x00007ffc1cd91977 UnrealEditor-CoreUObject.dll!TBaseStaticDelegateInstance<void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [H:\UE_5-3\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:777]
0x00007ff77b850554 UnrealEditor-Win64-DebugGame-Cmd.exe!TMulticastDelegate<void __cdecl(void),FDefaultDelegateUserPolicy>::Broadcast() [H:\UE_5-3\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:956]
0x00007ff77b84fc02 UnrealEditor-Win64-DebugGame-Cmd.exe!FEngineLoop::AppPreExit() [H:\UE_5-3\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:6757]
0x00007ff77b85bc18 UnrealEditor-Win64-DebugGame-Cmd.exe!FEngineLoop::Exit() [H:\UE_5-3\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5076]
0x00007ff77b85d28b UnrealEditor-Win64-DebugGame-Cmd.exe!GuardedMain() [H:\UE_5-3\Engine\Source\Runtime\Launch\Private\Launch.cpp:202]
0x00007ff77b85d2ea UnrealEditor-Win64-DebugGame-Cmd.exe!GuardedMainWrapper() [H:\UE_5-3\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
0x00007ff77b8607c4 UnrealEditor-Win64-DebugGame-Cmd.exe!LaunchWindowsStartup() [H:\UE_5-3\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
0x00007ff77b876934 UnrealEditor-Win64-DebugGame-Cmd.exe!WinMain() [H:\UE_5-3\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
0x00007ff77b878e72 UnrealEditor-Win64-DebugGame-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ffd3af07344 KERNEL32.DLL!UnknownFunction []
My other coworkers do not see these issues when packaging. If I delete the Audio Capture component, it packages fine. I’ve tried this in 5.3.1 and 5.3.2 and replicated this issue.
Has anyone else seen this issue or know what might be causing this?
It started right after a clean Windows 10 N installation and setup.