# Errors when trying to cook content for Windows

**URL:** <https://forums.unrealengine.com/t/errors-when-trying-to-cook-content-for-windows/441803>\
**Category:** Blueprint\
**Tags:** nativization, unreal-engine, Blueprint, question, Cooking-Failed\
**Created:** [January 22, 2019, 3:19am UTC](https://forums.unrealengine.com/t/errors-when-trying-to-cook-content-for-windows/441803 "2019-01-22T03:19:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lupix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lupix/32/593417_2.png) [@Lupix](https://forums.unrealengine.com/u/Lupix)\
**Post date:** [January 22, 2019, 3:19am UTC](https://forums.unrealengine.com/t/errors-when-trying-to-cook-content-for-windows/441803/1 "2019-01-22T03:19:49Z")

</div>

We are having problems cooking our game content for Windows 64-bit.  
This is the stack trace I get when I click the “Cook Content” option:

[https://scontent-bru2-1.xx.fbcdn.net/v/t1.15752-9/50641953\_371287437020603\_6155829114705018880\_n.png?\_nc\_cat=111&\_nc\_ht=scontent-bru2-1.xx&oh=922087bb9943418c1f9d233ca2be0acd&oe=5CBE404F](https://scontent-bru2-1.xx.fbcdn.net/v/t1.15752-9/50641953_371287437020603_6155829114705018880_n.png?_nc_cat=111&_nc_ht=scontent-bru2-1.xx&oh=922087bb9943418c1f9d233ca2be0acd&oe=5CBE404F)

I can see it says “Failed to identify the asset package that ‘…’ belongs to” and I would like to know how I can solve this.

I would like to say this also only happens when nativization is enabled, but we would like to know if there is another way to fix this other than disabling nativization.

---

<div class="post-metadata">

**Author:** ![Todd.Vance](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Todd.Vance](https://forums.unrealengine.com/u/Todd.Vance)\
**Post date:** [January 23, 2019, 4:58pm UTC](https://forums.unrealengine.com/t/errors-when-trying-to-cook-content-for-windows/441803/2 "2019-01-23T16:58:14Z")

</div>

Is this 4.21.2, the newest update? That seems to give me an assertion failure (perhaps a bug).

If not that version, the usual thing to try is exit UE4 editor, delete (or if you’re unsure, move to another folder) Binaries, Build, and Intermediate folders (maybe the Saved too, but you would lose saved games, for example), restart UE4 editor and try again. Sometimes that works.

---

<div class="post-metadata">

**Author:** ![Lupix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lupix/32/593417_2.png) [@Lupix](https://forums.unrealengine.com/u/Lupix)\
**Post date:** [January 29, 2019, 12:46pm UTC](https://forums.unrealengine.com/t/errors-when-trying-to-cook-content-for-windows/441803/3 "2019-01-29T12:46:06Z")

</div>

We have tried deleting the folders you mentioned and we have restarted the editor, but unfortunately that didn’t change anything. I think it’s fixed now though, and if I can tell with certainty that it is fixed, I will post the answer here. Thank you for the reply anyway.

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [February 11, 2019, 7:50pm UTC](https://forums.unrealengine.com/t/errors-when-trying-to-cook-content-for-windows/441803/4 "2019-02-11T19:50:10Z")

</div>

are you able to post your fix for this yet? i’ve just migrated from 4.18 to 4.21.2 and am having the same issue when nativizing blueprints specifically for a custom enum that was created in blueprints.

---

<div class="post-metadata">

**Author:** ![Lupix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lupix/32/593417_2.png) [@Lupix](https://forums.unrealengine.com/u/Lupix)\
**Post date:** [February 12, 2019, 5:30pm UTC](https://forums.unrealengine.com/t/errors-when-trying-to-cook-content-for-windows/441803/5 "2019-02-12T17:30:26Z")

</div>

Hey, paradoc. No, unfortunately we have not found a fix without disabling nativization as of now.
