# Cooking content gets stuck, can't build game

**URL:** <https://forums.unrealengine.com/t/cooking-content-gets-stuck-cant-build-game/1855235>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [May 14, 2024, 8:11am UTC](https://forums.unrealengine.com/t/cooking-content-gets-stuck-cant-build-game/1855235 "2024-05-14T08:11:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aimbotRaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aimbotRaz](https://forums.unrealengine.com/u/aimbotRaz)\
**Post date:** [May 14, 2024, 8:11am UTC](https://forums.unrealengine.com/t/cooking-content-gets-stuck-cant-build-game/1855235/1 "2024-05-14T08:11:25Z")

</div>

Hello, we just updated to 5.4.1 and we were trying to make a build of our game but we cannot do it because the cooking process gets stuck and doesn’t progress, this is what the logs says:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/5/665c4370c4368ddef776f1583920f494769720af.jpeg)

Any help in fixing this would be appreciated, thanks.

---

<div class="post-metadata">

**Author:** ![aimbotRaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aimbotRaz](https://forums.unrealengine.com/u/aimbotRaz)\
**Post date:** [May 14, 2024, 9:51am UTC](https://forums.unrealengine.com/t/cooking-content-gets-stuck-cant-build-game/1855235/2 "2024-05-14T09:51:03Z")

</div>

I also noticed that this gets printed in the logs

```auto
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 5278.487793 MiB, MemoryLimit = 3911.539062 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 5278.487793 MiB, MemoryLimit = 3911.539062 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 4695.26709 MiB, MemoryLimit = 3911.835938 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 4695.26709 MiB, MemoryLimit = 3911.835938 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 5836.447754 MiB, MemoryLimit = 3912.050781 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 5836.447754 MiB, MemoryLimit = 3912.050781 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 4649.266602 MiB, MemoryLimit = 3918.972656 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 4649.266602 MiB, MemoryLimit = 3918.972656 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 5745.089844 MiB, MemoryLimit = 3919.316406 MiB 
LogAsyncCompilation: Display: BEWARE: AssetCompile memory estimate is greater than available, but we're running it [StaticMesh] anyway! RequiredMemory = 0.000 MiB + 5745.089844 MiB, MemoryLimit = 3919.417969 MiB 

```

And doing another build i noticed it got stuck at

```auto
LogMaterial: Display: Missing cached shadermap for UDS_TFTTT in PCD3D_SM5, Medium, SM5, Game (DDC key hash: b6522049cfe50a64fea86a1daa577496444bcda1), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TFFFF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 51b563b47ed583b87da0c282433fe33df0bc12aa), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TTTFF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 4d8f78fa0f1ba367d128158f8c09ec4c5825bda8), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TFTTF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 70c7a12ef28196f3875f57d362aaa0384fa3d2e6), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FFTTT in PCD3D_SM5, Epic, SM5, Game (DDC key hash: 3c672ce35390d20f2dd8deb857276b931e8065ee), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TFFTT in PCD3D_SM5, Medium, SM5, Game (DDC key hash: dba4c376951a9fdabb4cd45dda62b7f26295cc51), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TTFFF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 857ddfd3856b49c56002bd8083bcae2f9ccf32f4), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TTFTT in PCD3D_SM5, Medium, SM5, Game (DDC key hash: d8531299c2a7c6afdad73f427253ac050c64a612), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FTTFF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: c30cd808b98e8f0113db9479cb7cbc0e88c3d8d6), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FFFTT in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 53b56b21ddcf36f546c96e0c98f4deb8f7710839), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FFTTF in PCD3D_SM5, Epic, SM5, Game (DDC key hash: 8117a301328597ce085f58ce809c0d688ee8e310), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FTFTT in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 33d678c7b7c52ae6a8eceddd6321ba2d44ca688c), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TFTFF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 728254ca136ee3671d14e5bfeaf48efbcf08b0fd), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FTFFF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 9289029215d30dd297082ed13a04b7e492423b3c), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FTTTT in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 7d2e7bde38c24ca035bb9bc1887f480a05ffe008), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_Space in PCD3D_SM5, Medium, SM5, Game (DDC key hash: d55691ac688c6c9ba3520dbd62f071f4e0b3689c), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TFFTF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 36a13095a32dc2ac92e51f30b01dda76fc703d7d), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TTTTT in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 4c858a4a289de7f45cbb1db203de6868e1e2e22f), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FFFFF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: cdabd7070fed139c86577af798dd19c1fc6bf29d), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FTFTF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 79dba713e7b700ec71b9166353b11b1f4ffb62b8), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TTFTF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: bc3c9bc05331c41e603cf9fb286f1e5023ce7e17), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FTTTF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 302bde2b6eb2c662de15dd554c75a2b1aaa13214), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_TTTTF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: ffb66cc9c3a8564e29f26f6e5c0de592005367cb), compiling. 
LogMaterial: Display: Missing cached shadermap for UDS_FFFTF in PCD3D_SM5, Medium, SM5, Game (DDC key hash: 63ad1c3d8d1b2bfb12774271bfba3da66f470fcc), compiling. 
LogCook: Display: Cooked packages 6627 Packages Remain 1325 Total 7952
LogCook: Display: Cook Diagnostics: OpenFileHandles=4508, VirtualMemory=9956MiB, VirtualMemoryAvailable=9864MiB

```

---

<div class="post-metadata">

**Author:** ![aimbotRaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aimbotRaz](https://forums.unrealengine.com/u/aimbotRaz)\
**Post date:** [May 16, 2024, 7:16am UTC](https://forums.unrealengine.com/t/cooking-content-gets-stuck-cant-build-game/1855235/3 "2024-05-16T07:16:49Z")

</div>

Another day, another update.  
Tried letting the engine cook for 16 and a half hours, it still got stuck building shaders… I will leave the log here just in case someone can help me  
[Cook-2024.05.15-16.39.46.txt](https://forums.unrealengine.com/uploads/short-url/uVELSIWVJuiOAD7nbHINvHn1g09.txt) (1.8 MB)

---

<div class="post-metadata">

**Author:** ![aimbotRaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aimbotRaz](https://forums.unrealengine.com/u/aimbotRaz)\
**Post date:** [May 17, 2024, 7:28am UTC](https://forums.unrealengine.com/t/cooking-content-gets-stuck-cant-build-game/1855235/4 "2024-05-17T07:28:29Z")

</div>

If ever anyone is gonna search for this ShaderCompiler problem, i fixed it by:

- Deleting ShaderWorkingDir in %appdata%/local/temp/… (Sorry i don’t exactly remember the name, since i deleted it i can’t find it anymore).
- Then i went to the Engine install dir, opened Engine/Config/BaseEngine.ini and changed the WorkerProcessPriority from -1 to 1
- Whenever i ran the cooking process and/or the BuildCookRun command i set the process priority to high from windows task manager

Worth noting:

- I had a launcher build of 5.4 alongside my source build, i deleted the launcher one cause it might mess up registry keys in windows
- I also deleted the DerivedDataCache from the engine install dir

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 16, 2024, 7:28am UTC](https://forums.unrealengine.com/t/cooking-content-gets-stuck-cant-build-game/1855235/5 "2024-06-16T07:28:57Z")

</div>

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