We’re trying to hunt down why packaging is intermittently failing. On one system it always fails, on another it 's random.
The build portion completes successfully, the log identifies there are zero errors, a few warnings, then critically fails with the below EXCEPTION_ACCESS_VIOLATION
.
We’ve looked at the FWasapiStreamManager
class from the call stack but we’re not directly using it.
LogInit: Display: Success - 0 error(s), 40 warning(s)
LogInit: Display:
Execution of commandlet took: 30.11 seconds
LogWindows: Error: begin: stack for UAT
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Fatal error!
LogWindows: Error:
LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000001cf5b2740c8
LogWindows: Error:
LogWindows: Error: [Callstack] 0x000001cf752a28c7 UnrealEditor-AudioCaptureWasapi.dll!Audio::FWasapiStreamManager::~FWasapiStreamManager() [D:\build\++UE5\Sync\Engine\Source\Runtime\AudioCaptureImplementations\Windows\AudioCaputureWasapi\Private\WasapiStreamManager.cpp:28]
LogWindows: Error: [Callstack] 0x000001cf752a3138 UnrealEditor-AudioCaptureWasapi.dll!Audio::FAudioCaptureWasapiStream::`scalar deleting destructor'() []
LogWindows: Error: [Callstack] 0x000001cf743817a0 UnrealEditor-AudioCaptureCore.dll!Audio::FAudioCaptureSynth::~FAudioCaptureSynth() [D:\build\++UE5\Sync\Engine\Source\Runtime\AudioCaptureCore\Private\AudioCaptureCore.cpp:185]
LogWindows: Error: [Callstack] 0x00007ffca0a64458 UnrealEditor-AudioCapture.dll!UAudioCaptureComponent::`vector deleting destructor'() []
LogWindows: Error: [Callstack] 0x00007ffcdb7125fc UnrealEditor-CoreUObject.dll!FAsyncPurge::TickDestroyObjects<0>() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:518]
LogWindows: Error: [Callstack] 0x00007ffcdb760972 UnrealEditor-CoreUObject.dll!IncrementalDestroyGarbage() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4261]
LogWindows: Error: [Callstack] 0x00007ffcdb760fae UnrealEditor-CoreUObject.dll!IncrementalPurgeGarbage() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:3957]
LogWindows: Error: [Callstack] 0x00007ffcdb8ad3b4 UnrealEditor-CoreUObject.dll!StaticExit() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:5121]
LogWindows: Error: [Callstack] 0x00007ffcdb741f37 UnrealEditor-CoreUObject.dll!TBaseStaticDelegateInstance<void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:777]
LogWindows: Error: [Callstack] 0x00007ff7e52005e4 UnrealEditor-Cmd.exe!TMulticastDelegate<void __cdecl(void),FDefaultDelegateUserPolicy>::Broadcast() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:956]
LogWindows: Error: [Callstack] 0x00007ff7e51ffc92 UnrealEditor-Cmd.exe!FEngineLoop::AppPreExit() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:6757]
LogWindows: Error: [Callstack] 0x00007ff7e520bca8 UnrealEditor-Cmd.exe!FEngineLoop::Exit() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5076]
LogWindows: Error: [Callstack] 0x00007ff7e520d31b UnrealEditor-Cmd.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:202]
LogWindows: Error: [Callstack] 0x00007ff7e520d37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
LogWindows: Error: [Callstack] 0x00007ff7e5210854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
LogWindows: Error: [Callstack] 0x00007ff7e5226984 UnrealEditor-Cmd.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
LogWindows: Error: [Callstack] 0x00007ff7e5228eb6 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogWindows: Error: [Callstack] 0x00007ffd3e6e259d KERNEL32.DLL!UnknownFunction []
LogWindows: Error:
LogWindows: Error: end: stack for UAT
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1, LaunchWindowsStartup.ExceptionHandler)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, LaunchWindowsStartup.ExceptionHandler)
LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
Despite the warnings not being an issue when the project does package we are currently re-writing the offending UltraLeap plugin to address the majority of them anyway.
The remaining 9 warnings are all long package name generation warnings despite the project sitting only 27 characters from the drives root.
LogCook: Warning: Unable to generate long package name, /Interchange/Pipelines/DefaultGLTFSceneAssetsPipeline. Input '/Interchange/Pipelines/DefaultGLTFSceneAssetsPipeline' is not a child of an existing mount point.
We’ve deleted the Intermediate, Saved, and DDC folders, run map checks, and verified dependencies multiple times.
What else are we missing or should we be doing?