Project crashes while packaging

In the first line, there is a warning about memory stat. Do you think that’s the problem?

here is the text version

PackageResults: Warning: MemoryStats:
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 11 crashed.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 7 crashed.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 8 crashed.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 6 crashed.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread PoolThread 8 crashed.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread PoolThread 11 crashed.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 9 crashed.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread PoolThread 13 crashed.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread PoolThread 12 crashed.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread PoolThread 10 crashed.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 10 crashed.
UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread PoolThread 9 crashed.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: HandleError re-entered.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 11 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 7 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 8 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 6 crashed.
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Runnable thread PoolThread 8 crashed.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: Runnable thread PoolThread 11 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 9 crashed.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: Runnable thread PoolThread 13 crashed.
PackagingResults: Error: Runnable thread PoolThread 12 crashed.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: Runnable thread PoolThread 10 crashed.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 10 crashed.
PackagingResults: Error: Runnable thread PoolThread 9 crashed.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
UATHelper: Packaging (Windows (64-bit)): Took 200/9178511s to run UE4Editor-Cmd.exe, ExitCode=3
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\sohrab1\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+unreal+install+UE_4.27\Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure

It looks like it’s started to fail when it’s started working on the shaders. Are you running over budget on texture streaming while testing in PIE? Are you using static or stationary light? It could be a memory issue if you’re trying to build lighting with too high of a resolution on the UV maps. It’s very intensive on any machine that’s not using dynamic lighting.

Thanks for the reply
yes, I got the “texture streaming pool over budget” warning before, and I increased memory for texture from 1 gig Gigabyte to 2 Gigabytes in Unreal Engine config. Do you think if I get more ram it will be fixed or do I have to bring it back to 1 Gigabyte?

It’s hard to tell depending on your system… you can go through the materials on each asset and set the texture resolution to a specific max in game by opening the textures. That’s a good way to optimize. You might have a little object with a 4k textures that really may need like 512X512 and still produce excellent results. That can eat up your budget fast if you have lots of that going on…

You could also do a quick test with your project by switching over your directional lights to movable and try packaging like that if they aren’t movable already. If you have a successful packaging then that’ll be a sure fire way to know it’s system resources.

1 Like

Go to your project file root; Delete these three folder(Binaries\Intermediate\Saved);please backup these folder before you delete them, then it will generate a new intermediate folder after you launch your uproject. try to package again. Hope it helps