Getting error when packaging a game

Hey everyone, I’m getting an error out of the blue when packaging a game with any Binary Configuration. Initially it was just the Development version, which I could work around until I figured out the problem, but now it’s any one. I’ve tried verifying the install, deleting the usual folders and checking the projects code but so far nothing works. Below is the log data and crash reporter data. If it helps, I have a 13900k and 64GB of ram. Thanks in advance!

Crash Reporter

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x00007ff951e57600

UnrealPak_Core!oo2::newLZ_encode_chunk_optimal_parse_tll_core<1,oo2::NewLZParseCoreSSE2>()
UnrealPak_Core!oo2::newLZ_encode_chunk_optimal_tll()
UnrealPak_Core!oo2::newLZ_encode_block_vtable()
UnrealPak_Core!oo2::newlz_compress_vtable_block_outer()
UnrealPak_Core!oo2::newlz_compress_vtable()
UnrealPak_Core!oo2::Kraken_Compress()
UnrealPak_Core!OodleLZ_Compress()
UnrealPak_Core!FOodleDataCompressionFormat::Compress()
UnrealPak_Core!FCompression::CompressMemory()
UnrealPak_Core!FCompression::CompressMemoryIfWorthDecompressing()
UnrealPak_Core!FIoStoreWriter::CompressBlock()
UnrealPak_Core!`FIoStoreWriter::BeginCompress'::`52'::<lambda_2>::operator()()
UnrealPak_Core!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(void),0> >::ExecuteTask()
UnrealPak_Core!`LowLevelTasks::FTask::Init<`FTaskGraphCompatibilityImplementation::QueueTask'::`5'::<lambda_1> >'::`13'::<lambda_1>::operator()()
UnrealPak_Core!LowLevelTasks::TTaskDelegate<LowLevelTasks::FTask * __ptr64 __cdecl(bool),48>::TTaskDelegateImpl<`LowLevelTasks::FTask::Init<`FTaskGraphCompatibilityImplementation::QueueTask'::`5'::<lambda_1> >'::`13'::<lambda_1>,0>::CallAndMove()
UnrealPak_Core!LowLevelTasks::FTask::ExecuteTask()
UnrealPak_Core!LowLevelTasks::FScheduler::ExecuteTask()
UnrealPak_Core!LowLevelTasks::FScheduler::WorkerMain()
UnrealPak_Core!UE::CompressedBuffer::Private::FHeader::CalculateCrc32()
UnrealPak_Core!FThreadImpl::Run()
UnrealPak_Core!FRunnableThreadWin::Run()

Output Log

UATHelper: Packaging (Windows): LogIoStore: Display: Serializing container(s)...
UATHelper: Packaging (Windows): LogIoStore: Display: Writing chunks (2087/14631)... [1762 compressed] [20930 compression tasks scheduled]
UATHelper: Packaging (Windows): LogIoStore: Display: Writing chunks (2087/14631)... [3225 compressed] [12264 compression tasks scheduled]
UATHelper: Packaging (Windows): LogIoStore: Display: Writing chunks (2087/14631)... [3941 compressed] [3780 compression tasks scheduled]
UATHelper: Packaging (Windows): LogThreadingWindows: Error: Runnable thread Background Worker #21 crashed.
UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Fatal error!
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x00007ff9587c7600
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d87c7600 UnrealPak-Core.dll!oo2::newLZ_encode_chunk_optimal_parse_tll_core<1,oo2::NewLZParseCoreSSE2>() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d87ce5eb UnrealPak-Core.dll!oo2::newLZ_encode_chunk_optimal_tll() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d880de11 UnrealPak-Core.dll!oo2::newLZ_encode_block_vtable() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d880ef85 UnrealPak-Core.dll!oo2::newlz_compress_vtable_block_outer() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d880e4f3 UnrealPak-Core.dll!oo2::newlz_compress_vtable() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d87cbfde UnrealPak-Core.dll!oo2::Kraken_Compress() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d87bcb4f UnrealPak-Core.dll!OodleLZ_Compress() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d828184b UnrealPak-Core.dll!FOodleDataCompressionFormat::Compress() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d8459b82 UnrealPak-Core.dll!FCompression::CompressMemory() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d8459f97 UnrealPak-Core.dll!FCompression::CompressMemoryIfWorthDecompressing() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d83de3d8 UnrealPak-Core.dll!FIoStoreWriter::CompressBlock() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d83d55e5 UnrealPak-Core.dll!`FIoStoreWriter::BeginCompress'::`52'::<lambda_2>::operator()() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d82154ea UnrealPak-Core.dll!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(void),0> >::ExecuteTask() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d82080b7 UnrealPak-Core.dll!`LowLevelTasks::FTask::Init<`FTaskGraphCompatibilityImplementation::QueueTask'::`5'::<lambda_1> >'::`13'::<lambda_1>::operator()() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d820ea13 UnrealPak-Core.dll!LowLevelTasks::TTaskDelegate<LowLevelTasks::FTask * __ptr64 __cdecl(bool),48>::TTaskDelegateImpl<`LowLevelTasks::FTask::Init<`FTaskGraphCompatibilityImplementation::QueueTask'::`5'::<lambda_1> >'::`13'::<lambda_1>,0>::CallAndMove() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d8215fee UnrealPak-Core.dll!LowLevelTasks::FTask::ExecuteTask() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d8215d7b UnrealPak-Core.dll!LowLevelTasks::FScheduler::ExecuteTask() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d8231c05 UnrealPak-Core.dll!LowLevelTasks::FScheduler::WorkerMain() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d820ccd0 UnrealPak-Core.dll!UE::CompressedBuffer::Private::FHeader::CalculateCrc32() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d83402c3 UnrealPak-Core.dll!FThreadImpl::Run() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d8612884 UnrealPak-Core.dll!FRunnableThreadWin::Run() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff9d8609247 UnrealPak-Core.dll!FRunnableThreadWin::GuardedRun() []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb0e70257d KERNEL32.DLL!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Crash in runnable thread Background Worker #21
UATHelper: Packaging (Windows): Took 11.78s to run UnrealPak.exe, ExitCode=3
UATHelper: Packaging (Windows): Command failed (Result:3): C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\Win64\UnrealPak.exe -CreateGlobalContainer="c:\Users\UserName\Documents\Unreal Projects\Game\Saved\StagedBuilds\Windows\Game\Content\Paks\global.utoc" -CookedDirectory="c:\Users\UserName\Documents\Unreal Projects\Game\Saved\Cooked\Windows" -PackageStoreManifest="c:\Users\UserName\Documents\Unreal Projects\Game\Saved\Cooked\Windows\Game\Metadata\packagestore.manifest" -Commands="C:\Users\UserName\AppData\Roaming\Unre
al Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\IoStoreCommands.txt" -ScriptObjects="c:\Users\UserName\Documents\Unreal Projects\Game\Saved\Cooked\Windows\Game\Metadata\scriptobjects.bin" -patchpaddingalign=2048 -compressionformats=Oodle -compresslevel=5 -compressmethod=Kraken   -cryptokeys="c:\Users\UserName\Documents\Unreal Projects\Game\Saved\Cooked\Windows\Game\Metadata\Crypto.json" -compressionMinBytesSaved=1024 -compressionMinPercentSaved=5 -WriteBackMetadataToAssetRegistry=Disabled . See logfile for details: 'Unre
alPak-2024.08.08-15.00.00.txt' 
UATHelper: Packaging (Windows): AutomationTool executed for 0h 1m 52s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=3 (Error_UnknownCommand)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Command

This may not be the issue, sometimes it can be difficult to identify but generally I find, personally, that when it crashes trying to package as opposed to pointing to there being a corrupt asset… its usually because I ran out of resources. I fix it by opening Nvidia control panel > manage 3d settings > set shader cache size to Unlimited.

I had changed my shader cache size settings before but seems to have gotten reset. That and clearing up some space might have worked, but it seems almost random. Thanks for the help!

Yeah I thought it was random too (which I suppose it is to a degree when the issue is a resource cap) until this solved the issue almost every time haha

Turns out it was my cpu. I’m affected by the vmin bug. I applied the micro code patch and low and behold, no issues :).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.