# LogCook: Error: Content is missing from cook. Source package referenced an object in target package but the target package was marked NeverCook or is not cookable for the target platform.

**URL:** <https://forums.unrealengine.com/t/logcook-error-content-is-missing-from-cook-source-package-referenced-an-object-in-target-package-but-the-target-package-was-marked-nevercook-or-is-not-cookable-for-the-target-platform/1825570>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, question\
**Created:** [April 28, 2024, 12:43am UTC](https://forums.unrealengine.com/t/logcook-error-content-is-missing-from-cook-source-package-referenced-an-object-in-target-package-but-the-target-package-was-marked-nevercook-or-is-not-cookable-for-the-target-platform/1825570 "2024-04-28T00:43:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Dante\_farate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dante\_farate](https://forums.unrealengine.com/u/Dante_farate)\
**Post date:** [May 1, 2024, 11:06am UTC](https://forums.unrealengine.com/t/logcook-error-content-is-missing-from-cook-source-package-referenced-an-object-in-target-package-but-the-target-package-was-marked-nevercook-or-is-not-cookable-for-the-target-platform/1825570/5 "2024-05-01T11:06:26Z")

</div>

I managed to fix a few of my assets with this issue by

1. Marking the variable with the error as editor only compiling.
2. Unticking editor only and compiling agian.  
3.Packaging/Cooking Content agian.

---

_[View the full topic](https://forums.unrealengine.com/t/logcook-error-content-is-missing-from-cook-source-package-referenced-an-object-in-target-package-but-the-target-package-was-marked-nevercook-or-is-not-cookable-for-the-target-platform/1825570)._
