# Error Unknown Cook Failure

**URL:** <https://forums.unrealengine.com/t/error-unknown-cook-failure/409889>\
**Category:** Platform & Builds\
**Tags:** error, Cooking, windows, failure, unreal-engine, Packaging, question\
**Created:** [November 17, 2017, 9:35pm UTC](https://forums.unrealengine.com/t/error-unknown-cook-failure/409889 "2017-11-17T21:35:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZeroComfort](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeroComfort](https://forums.unrealengine.com/u/ZeroComfort)\
**Post date:** [November 17, 2017, 9:35pm UTC](https://forums.unrealengine.com/t/error-unknown-cook-failure/409889/1 "2017-11-17T21:35:29Z")

</div>

After first finding out that UE4 was trying to use more RAM for cooking than was available (and solving that issue), I am now still confronted with a cooking error with the following Log File.

Can anybody help?

**More info:**  
UE 4.16.3-3561208 and cooking/packaging for either Windows x86 or x64.

---

<div class="post-metadata">

**Author:** ![Xelj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xelj](https://forums.unrealengine.com/u/Xelj)\
**Post date:** [November 18, 2017, 12:28pm UTC](https://forums.unrealengine.com/t/error-unknown-cook-failure/409889/2 "2017-11-18T12:28:29Z")

</div>

If you are sure that the problem with ram is solved, try to move the project to another harddisk.  
For unknown reasons, some files can not be deleted / moved.

---

<div class="post-metadata">

**Author:** ![ZeroComfort](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeroComfort](https://forums.unrealengine.com/u/ZeroComfort)\
**Post date:** [November 18, 2017, 12:34pm UTC](https://forums.unrealengine.com/t/error-unknown-cook-failure/409889/3 "2017-11-18T12:34:41Z")

</div>

Thanks for the reply, I will try that. Maybe first I will try to clear the Intermediate folder.

---

<div class="post-metadata">

**Author:** ![ZeroComfort](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeroComfort](https://forums.unrealengine.com/u/ZeroComfort)\
**Post date:** [November 18, 2017, 1:41pm UTC](https://forums.unrealengine.com/t/error-unknown-cook-failure/409889/4 "2017-11-18T13:41:56Z")

</div>

I just did both with each time a new “Package Project \> Windows \> Windows (64-bit)”.

Both times it ended up with a similar log, but it showed different assets that could not be “moved”, and all but one are from the Engine itself. And the custom asset is a different one each time as well.

---

<div class="post-metadata">

**Author:** ![ZeroComfort](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeroComfort](https://forums.unrealengine.com/u/ZeroComfort)\
**Post date:** [November 18, 2017, 1:48pm UTC](https://forums.unrealengine.com/t/error-unknown-cook-failure/409889/5 "2017-11-18T13:48:53Z")

</div>

It looks like a Cook without packaging works just fine. So it is actually the packaging that fails.
