# Cook Error (ensure condition)

**URL:** <https://forums.unrealengine.com/t/cook-error-ensure-condition/462642>\
**Category:** Platform & Builds\
**Tags:** Cooking, error, unreal-engine, Packaging, question, load-error\
**Created:** [March 19, 2020, 8:12pm UTC](https://forums.unrealengine.com/t/cook-error-ensure-condition/462642 "2020-03-19T20:12:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freeman1852](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Freeman1852](https://forums.unrealengine.com/u/Freeman1852)\
**Post date:** [March 19, 2020, 8:12pm UTC](https://forums.unrealengine.com/t/cook-error-ensure-condition/462642/1 "2020-03-19T20:12:40Z")

</div>

So, i tried to build game, but got error on cooking. And i have no idea what file can cause this. Anybody had this kind of error?

> Ensure condition failed: TypeData.Info.AssetBaseClassLoaded == BaseClass && TypeData.Info.bHasBlueprintClasses == bHasBlueprintClasses && TypeData.Info.bIsEditorOnly == bIsEditorOnly

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/8/a582cc0605cea8ee1ba1c38fd8b61d07a3ccf251.png)

Log file - [Log file open, 03/19/20 23:06:14LogPluginManager: Mounting plugin Paper2DLog - Pastebin.com](https://pastebin.com/aiGLY6NQ)

---

<div class="post-metadata">

**Author:** ![Blackforcedragon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blackforcedragon/32/1010299_2.png) [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Post date:** [March 22, 2020, 2:35pm UTC](https://forums.unrealengine.com/t/cook-error-ensure-condition/462642/2 "2020-03-22T14:35:04Z")

</div>

do you convert Blueprints to C++ ?

---

<div class="post-metadata">

**Author:** ![Freeman1852](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Freeman1852](https://forums.unrealengine.com/u/Freeman1852)\
**Post date:** [March 22, 2020, 2:46pm UTC](https://forums.unrealengine.com/t/cook-error-ensure-condition/462642/3 "2020-03-22T14:46:05Z")

</div>

Ye, that indeed was an issue it seems, but the disable back did not help, I had to completely delete all the .ini settings and generate them again. It helped.

---

<div class="post-metadata">

**Author:** ![Croffe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Croffe](https://forums.unrealengine.com/u/Croffe)\
**Post date:** [February 1, 2026, 7:07pm UTC](https://forums.unrealengine.com/t/cook-error-ensure-condition/462642/4 "2026-02-01T19:07:34Z")

</div>

Which .ini settings did you delete?
