[Resolved] EXCEPTION_ACCESS_VIOLATION reading address 0x0000000200000004

Yesterday, when building in 5.3.2 I came across this error while having no internet connection.

What I did to resolve this

  • Waiting for internet connection
  • Fixed up redirectors, since files were deleted via the Force Delete option and this may have resulted in the assert.

Fix-up-redirectors

[2024.05.01-19.31.35:390][416]PackagingResults: Error: begin: stack for UAT
[2024.05.01-19.31.35:390][416]PackagingResults: Error: === Critical error: ===
[2024.05.01-19.31.35:390][416]PackagingResults: Error: Fatal error!
[2024.05.01-19.31.35:390][416]PackagingResults: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000200000004
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb3783d15c UnrealEditor-Core.dll!_mi_heap_malloc_zero() [F:\UE\Engine\UE_5.3_Source\Engine\Source\ThirdParty\mimalloc\src\alloc.c:147]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb3784454b UnrealEditor-Core.dll!mi_heap_malloc_zero_aligned_at() [F:\UE\Engine\UE_5.3_Source\Engine\Source\ThirdParty\mimalloc\src\alloc-aligned.c:47]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb37845b55 UnrealEditor-Core.dll!mi_malloc_aligned() [F:\UE\Engine\UE_5.3_Source\Engine\Source\ThirdParty\mimalloc\src\alloc-aligned.c:97]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb371ee5d9 UnrealEditor-Core.dll!FMallocMimalloc::Malloc() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Core\Private\HAL\MallocMimalloc.cpp:67]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb371ee8d9 UnrealEditor-Core.dll!FMemory::Malloc() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl:27]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1ca7e44d UnrealEditor-Chaos.dll!Chaos::FConvexStructureData::CreateDataContainer() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Experimental\Chaos\Public\Chaos\ConvexStructureData.h:355]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1cada09e UnrealEditor-Chaos.dll!Chaos::FConvexStructureData::SetPlaneVertices() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Experimental\Chaos\Public\Chaos\ConvexStructureData.h:244]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1cd415aa UnrealEditor-Chaos.dll!Chaos::FConvex::CreateStructureData() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Experimental\Chaos\Private\Chaos\Convex.cpp:309]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1f218a73 UnrealEditor-Engine.dll!`Chaos::Cooking::BuildConvexMeshes'::`2'::<lambda_1>::operator()() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\Experimental\ChaosCooking.cpp:194]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1f24b5c2 UnrealEditor-Engine.dll!Chaos::FCookHelper::Cook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\Experimental\ChaosCooking.cpp:359]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1f23d94e UnrealEditor-Engine.dll!FChaosDerivedDataCooker::Build() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\Experimental\ChaosDerivedData.cpp:119]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1f1eefc4 UnrealEditor-Engine.dll!GetDDCBuiltData<FChaosDerivedDataCooker>() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:1359]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1f26dc59 UnrealEditor-Engine.dll!UBodySetup::GetCookedData() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:1420]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb1f28af8c UnrealEditor-Engine.dll!UBodySetup::IsCachedCookedPlatformDataLoaded() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:1224]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb23b5d575 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::RouteIsCachedCookedPlatformDataLoaded() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:12009]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb23af454b UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::CallBeginCacheOnObjects() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3809]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb23aeefdd UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::BeginCacheObjectsToMove() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3346]
[2024.05.01-19.31.35:390][416]PackagingResults: Error: [Callstack] 0x00007ffb23b42854 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveGeneratedPackage() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3198]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23b42902 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveGeneratedPackage() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3221]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23b42d75 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveInternal() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3746]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23b426bb UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSave() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3596]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23b48136 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PumpSaves() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4364]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23b68247 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickMainCookLoop() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1412]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23b67aa7 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickCookByTheBook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1294]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23859c40 UnrealEditor-UnrealEd.dll!UCookCommandlet::RunCookByTheBookCook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:543]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb23813323 UnrealEditor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:504]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb2383255f UnrealEditor-UnrealEd.dll!UCookCommandlet::Main() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:243]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff60fcf733f UnrealEditor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4136]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff60fcecfb6 UnrealEditor-Cmd.exe!GuardedMain() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Launch.cpp:140]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff60fced37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff60fcf0854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff60fd06984 UnrealEditor-Cmd.exe!WinMain() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff60fd08eb6 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb8ff67344 KERNEL32.DLL!UnknownFunction []
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error:
[2024.05.01-19.31.35:393][416]UATHelper: Packaging (Windows): LogWindows: Error: end: stack for UAT
[2024.05.01-19.31.35:591][416]UATHelper: Packaging (Windows): Took 275,12s to run UnrealEditor-Cmd.exe, ExitCode=3
[2024.05.01-19.31.35:725][417]PackagingResults: Error: [Callstack] 0x00007ffb23b42902 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveGeneratedPackage() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3221]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb23b42d75 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveInternal() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3746]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb23b426bb UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSave() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3596]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb23b48136 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PumpSaves() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4364]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb23b68247 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickMainCookLoop() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1412]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb23b67aa7 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickCookByTheBook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1294]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb23859c40 UnrealEditor-UnrealEd.dll!UCookCommandlet::RunCookByTheBookCook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:543]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb23813323 UnrealEditor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:504]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb2383255f UnrealEditor-UnrealEd.dll!UCookCommandlet::Main() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:243]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ff60fcf733f UnrealEditor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4136]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ff60fcecfb6 UnrealEditor-Cmd.exe!GuardedMain() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Launch.cpp:140]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ff60fced37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ff60fcf0854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ff60fd06984 UnrealEditor-Cmd.exe!WinMain() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ff60fd08eb6 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2024.05.01-19.31.35:726][417]PackagingResults: Error: [Callstack] 0x00007ffb8ff67344 KERNEL32.DLL!UnknownFunction []
[2024.05.01-19.31.35:726][417]PackagingResults: Error: end: stack for UAT
[2024.05.01-19.31.35:910][417]UATHelper: Packaging (Windows): Cook failed.

[strikethrough]
This has been resolved see above for the steps.
[/strikethrough]

Today, I had this error again but also Assertion failed: IsUnlocked() - it could only be resolved by deleting the Intermediate folder.

[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: begin: stack for UAT
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error:
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: Assertion failed: IsUnlocked() [File:F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\CoreUObject\Private\Serialization\BulkData.cpp] [Line: 908]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error:
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error:
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error:
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe7062f086 UnrealEditor-Engine.dll!GetDDCBuiltData<FChaosDerivedDataCooker>() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:1366]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe706adc59 UnrealEditor-Engine.dll!UBodySetup::GetCookedData() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:1420]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe706caf8c UnrealEditor-Engine.dll!UBodySetup::IsCachedCookedPlatformDataLoaded() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:1224]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c93d575 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::RouteIsCachedCookedPlatformDataLoaded() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:12009]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c8d454b UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::CallBeginCacheOnObjects() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3809]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c8cefdd UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::BeginCacheObjectsToMove() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3346]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c922854 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveGeneratedPackage() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3198]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c922902 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveGeneratedPackage() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3221]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c922d75 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSaveInternal() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3746]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c9226bb UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PrepareSave() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3596]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c928136 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PumpSaves() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4364]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c948247 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickMainCookLoop() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1412]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c947aa7 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickCookByTheBook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1294]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c639c40 UnrealEditor-UnrealEd.dll!UCookCommandlet::RunCookByTheBookCook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:543]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c5f3323 UnrealEditor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:504]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffe6c61255f UnrealEditor-UnrealEd.dll!UCookCommandlet::Main() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:243]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff736b3733f UnrealEditor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4136]
[2024.05.03-14.15.57:485][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff736b2cfb6 UnrealEditor-Cmd.exe!GuardedMain() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Launch.cpp:140]
[2024.05.03-14.15.57:496][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff736b2d37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
[2024.05.03-14.15.57:496][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff736b30854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
[2024.05.03-14.15.57:496][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff736b46984 UnrealEditor-Cmd.exe!WinMain() [F:\UE\Engine\UE_5.3_Source\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
[2024.05.03-14.15.57:496][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff736b48eb6 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2024.05.03-14.15.57:496][581]UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffecd427344 KERNEL32.DLL!UnknownFunction []
[2024.05.03-14.15.57:496][581]UATHelper: Packaging (Windows): LogWindows: Error:
[2024.05.03-14.15.57:496][581]UATHelper: Packaging (Windows): LogWindows: Error: end: stack for UAT
[2024.05.03-14.15.57:540][581]UATHelper: Packaging (Windows): Took 293,11s to run UnrealEditor-Cmd.exe, ExitCode=3
[2024.05.03-14.15.57:646][581]UATHelper: Packaging (Windows): Cook failed.

While deletion of the Intermediate folder worked sometimes - no error during build. The likely reason for above errors are the moving of the CitySampleCrowd folder, deletion of all the CityCrowd blueprints (which were not in use) appears to have resolved the issue now finally.

UATHelper: Packaging (Windows): LogLinker: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/BodyColorAtlas.BodyColorAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
PackagingResults: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/BodyColorAtlas.BodyColorAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
UATHelper: Packaging (Windows): LogLinker: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/FaceColorAtlas.FaceColorAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
UATHelper: Packaging (Windows): LogLinker: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/FaceNormalAtlas.FaceNormalAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
UATHelper: Packaging (Windows): LogLinker: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/FaceRoughnessAtlas.FaceRoughnessAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
PackagingResults: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/FaceColorAtlas.FaceColorAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
PackagingResults: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/FaceNormalAtlas.FaceNormalAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
PackagingResults: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/FaceRoughnessAtlas.FaceRoughnessAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist
UATHelper: Packaging (Windows): LogLinker: Warning: Unable to load CitySampleCrowdAssetGuideline_VT_C_0 with outer Texture2D /Game/Characters/NPC/CityCrowd/Shared/Textures/Atlases/FaceCavityAtlas.FaceCavityAtlas because its class (CitySampleCrowdAssetGuideline_VT_StaticLighting_C) does not exist

The problem again surfaced, after carefully reading the output look I’ve noticed this warning

LogD3D12RHI: Warning: Descriptor cache ran out of sub allocated descriptor blocks! Moving to Context local View heap strategy

Increasing heap size can be done see the following post

The project builds again without critical error, so this random heap related error suggests that there is a problem with the VRAM. Hopefully increasing the heap size can resolve this issue now.

While deletion of the Intermediate folder worked sometimes - no error during build. The likely reason for above errors are the moving of the CitySampleCrowd folder, deletion of all the CityCrowd blueprints (which were not in use) appears to have resolved the issue now finally.