Unable to package project on UE 5.3 - EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000230

As stated in the title - I am unable to package my project at all, because this Unhandled Exception crahes the build process straight after the Cook process prints “Success”.

Here is full error log:

Execution of commandlet took:  14m 16s (856.84 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 0x0000000000000230
LogWindows: Error:
LogWindows: Error: [Callstack] 0x00007ff9bcd0e081 UnrealEditor-PhysicsCore.dll!FChaosScene::RemoveActorFromAccelerationStructureImp() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\ChaosScene.cpp:204]
LogWindows: Error: [Callstack] 0x00007ff9bcd0d4dd UnrealEditor-PhysicsCore.dll!FChaosEngineInterface::ReleaseActor() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\PhysicsCore\Private\ChaosEngineInterface.cpp:2113]
LogWindows: Error: [Callstack] 0x00007ff9b4b3b92b UnrealEditor-Engine.dll!FBodyInstance::TermBody() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodyInstance.cpp:1579]
LogWindows: Error: [Callstack] 0x00007ff9b3c7aa60 UnrealEditor-Engine.dll!UPrimitiveComponent::OnDestroyPhysicsState() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\Components\PrimitiveComponent.cpp:942]
LogWindows: Error: [Callstack] 0x00007ff9b3dbf05e UnrealEditor-Engine.dll!UStaticMeshComponent::OnDestroyPhysicsState() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\Components\StaticMeshComponent.cpp:817]
LogWindows: Error: [Callstack] 0x00007ff9b3b86025 UnrealEditor-Engine.dll!UActorComponent::DestroyPhysicsState() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1654]
LogWindows: Error: [Callstack] 0x00007ff9b3b8d354 UnrealEditor-Engine.dll!UActorComponent::ExecuteUnregisterEvents() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1694]
LogWindows: Error: [Callstack] 0x00007ff9b3b689d5 UnrealEditor-Engine.dll!UActorComponent::BeginDestroy() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:700]
LogWindows: Error: [Callstack] 0x00007ff9b3c36975 UnrealEditor-Engine.dll!UPrimitiveComponent::BeginDestroy() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\Components\PrimitiveComponent.cpp:1518]
LogWindows: Error: [Callstack] 0x00007ff9b3d735ae UnrealEditor-Engine.dll!UStaticMeshComponent::BeginDestroy() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Engine\Private\Components\StaticMeshComponent.cpp:1824]
LogWindows: Error: [Callstack] 0x00007ff9c329a24d UnrealEditor-CoreUObject.dll!UObject::ConditionalBeginDestroy() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:1175]
LogWindows: Error: [Callstack] 0x00007ff9c31e97de UnrealEditor-CoreUObject.dll!UnhashUnreachableObjects() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4837]
LogWindows: Error: [Callstack] 0x00007ff9c3126e26 UnrealEditor-CoreUObject.dll!UE::GC::CollectGarbageImpl<1>() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4736]
LogWindows: Error: [Callstack] 0x00007ff9c3154583 UnrealEditor-CoreUObject.dll!UE::GC::CollectGarbageFull() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4538]
LogWindows: Error: [Callstack] 0x00007ff9c31543bd UnrealEditor-CoreUObject.dll!CollectGarbage() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4887]
LogWindows: Error: [Callstack] 0x000001f0f8f6e1e2 UnrealEditor-PythonScriptPlugin.dll!FPyReferenceCollector::PurgeUnrealGeneratedTypes() [F:\UE_SOURCE\UnrealEngine\Engine\Plugins\Experimental\PythonScriptPlugin\Source\PythonScriptPlugin\Private\PyReferenceCollector.cpp:167]
LogWindows: Error: [Callstack] 0x000001f0f8ff3c8c UnrealEditor-PythonScriptPlugin.dll!FPythonScriptPlugin::ShutdownPython() [F:\UE_SOURCE\UnrealEngine\Engine\Plugins\Experimental\PythonScriptPlugin\Source\PythonScriptPlugin\Private\PythonScriptPlugin.cpp:1054]
LogWindows: Error: [Callstack] 0x000001f0f8fbbb6e UnrealEditor-PythonScriptPlugin.dll!TBaseRawMethodDelegateInstance<0,FPythonScriptPlugin,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:534]
LogWindows: Error: [Callstack] 0x00007ff75e7b05e4 UnrealEditor-Cmd.exe!TMulticastDelegate<void __cdecl(void),FDefaultDelegateUserPolicy>::Broadcast() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:956]
LogWindows: Error: [Callstack] 0x00007ff75e7afbdb UnrealEditor-Cmd.exe!FEngineLoop::AppPreExit() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:6737]
LogWindows: Error: [Callstack] 0x00007ff75e7bbca8 UnrealEditor-Cmd.exe!FEngineLoop::Exit() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5076]
LogWindows: Error: [Callstack] 0x00007ff75e7bd31b UnrealEditor-Cmd.exe!GuardedMain() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Launch\Private\Launch.cpp:202]
LogWindows: Error: [Callstack] 0x00007ff75e7bd37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
LogWindows: Error: [Callstack] 0x00007ff75e7c0854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
LogWindows: Error: [Callstack] 0x00007ff75e7d6994 UnrealEditor-Cmd.exe!WinMain() [F:\UE_SOURCE\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
LogWindows: Error: [Callstack] 0x00007ff75e7d8ec6 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] 0x00007ffa389c257d KERNEL32.DLL!UnknownFunction []
LogWindows: Error:
LogWindows: Error: end: stack for UAT
Took 950,06s to run UnrealEditor-Cmd.exe, ExitCode=3

My best guess is it could be something with Chaos Vehicles presented in the project. The issue is that in Editor everything works just fine. From what I googled It also seems like an error pointing on the issue with access to some file which may be corrupted or non-exist, but I cleared project out from every invalid BP.

I did check all my BPs which could be related to the issue and still cannot figure this out. Cook process logs 0 Errors and some minor Warnings. I did cleaned up all the warnings which were pointing to some issues with access to files and referencing. Already spend literally tens of hours on this error, tens of build attempts and still no luck.

My last hope would be to attempt to track error down in VS and maybe I could find some more details. But for now It is absolutely desperate.

Some important details:

  1. Sometimes, randomly, the error could be just the same but referencing another address - 0xffffffffffff or something like that.
  2. Also, one time, just once out of tens of attempts I managed to somehow bypass it and it proceeded to Writing entries and actually producing build. It failed as well but only because I had not enough disk space at that moment on my drive. Since that Im continuing to receive this error with no progress.

I would appreciate any help or hints a lot.

did you tried out removing the chaos vehicle / plugin ?

If I do so all my vehicles BP will be broken and I suppose I will not see much difference since in this scenario I will be unable to reach Cooking finish. Project is pretty massive, It has tons of BPs.