# 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:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AltairGamesLLC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AltairGamesLLC](https://forums.unrealengine.com/u/AltairGamesLLC)\
**Post date:** [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/1 "2024-04-28T00:43:35Z")

</div>

During the cook process of packaging I get a bunch of these errors? I tried using this cook settings and without: -AdditionalCookerOptions=“-cookprocesscount=4”. 1Either way I see errors. Sometimes without that multi-thread cook setting, it works, but not always.

```auto
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.
    Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Sprite/M_BrushSprite_01
    Target package: /Engine/EditorResources/S_Terrain
    Referenced object: /Engine/EditorResources/S_Terrain

```

---

<div class="post-metadata">

**Author:** ![Vioxtar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vioxtar](https://forums.unrealengine.com/u/Vioxtar)\
**Post date:** [April 30, 2024, 1:24pm 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/2 "2024-04-30T13:24:30Z")

</div>

I too am facing this. My project doesn’t even use Landmass. Still, it seemed to be ticked in the plugins window in the editor. Unticking it seemed to solve the issue.

---

<div class="post-metadata">

**Author:** ![Pakyman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pakyman](https://forums.unrealengine.com/u/Pakyman)\
**Post date:** [April 30, 2024, 2:38pm 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/3 "2024-04-30T14:38:22Z")

</div>

Same problem here on another asset not related to landmass,

UATHelper: Packaging (Windows): LogCook: Error: Content is missing from cook. Source package referenced an object in target package but the object was stripped out of the target package when saved.  
UATHelper: Packaging (Windows): Source package: /Game/A\_DarkEvil/Maps/WP/L\_DarkEvill\_WP\_OK/_Generated_/7JC11A382LKLD2L2RX43207AC  
UATHelper: Packaging (Windows): Target package: /AscentCombatFramework/Blueprints/AI/AIs/ACFAICharacterBP  
UATHelper: Packaging (Windows): Referenced object: /AscentCombatFramework/Blueprints/AI/AIs/ACFAICharacterBP.ACFAICharacterBP\_C:ACF Effects Manager Comp\_GEN\_VARIABLE

---

<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:03am 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/4 "2024-05-01T11:03:46Z")

</div>

Same issue here are you on unreal 5.4 by chance this might be a issue with 5.4

---

<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.

---

<div class="post-metadata">

**Author:** ![jimsnomis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimsnomis](https://forums.unrealengine.com/u/jimsnomis)\
**Post date:** [May 2, 2024, 4:04pm 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/6 "2024-05-02T16:04:42Z")

</div>

I have it on 5.4, fine on 5.3.2

---

<div class="post-metadata">

**Author:** ![futurecreep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/futurecreep/32/749994_2.png) [@futurecreep](https://forums.unrealengine.com/u/futurecreep)\
**Post date:** [May 2, 2024, 9:32pm 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/7 "2024-05-02T21:32:54Z")

</div>

I get multiples of the same error as OP, mainly about Landmass but some others too.  
The fix/workaround that works for me is:

**Project Settings → Packaging → Advanced → Uncheck “Exclude editor content when cooking”**

Not sure yet of the consequences but at least packaging works and my build plays as expected.

**Edit since people keep seeing this post (March 2025):**  
The main consequence is that it may lenghten build times and increase the build size.  
The proper thing to do is go through each error and follow the trail to where editor-only content is being referenced, and if it can’t be avoided one workaround is making copies inside the project content and switching the references to that.

---

<div class="post-metadata">

**Author:** ![jimsnomis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimsnomis](https://forums.unrealengine.com/u/jimsnomis)\
**Post date:** [May 3, 2024, 4:37pm 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/8 "2024-05-03T16:37:25Z")

</div>

Exclude Editor Content didn’t work for me. I had some meshes and sounds referenced in Engine that refuse to cook for Android. No idea why, fixed it by:

1 - Moving them into my plugins/project so they get re-referenced  
2 - Then re-running Setup.bat restores the original engine copies that I moved.

---

<div class="post-metadata">

**Author:** ![laerth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laerth](https://forums.unrealengine.com/u/laerth)\
**Post date:** [May 3, 2024, 4:45pm 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/9 "2024-05-03T16:45:03Z")

</div>

I also have this problem in 5.4.1. I made a copy of my 5.2 project (which packages fine), tried to package, and I get about ~200 of the “Content is missing from cook” errors that look similar to this:

```auto
UATHelper: Packaging (Windows): LogCook: Error: Content is missing from cook. Source package referenced an object in target package but the object was stripped out of the target package when saved.
UATHelper: Packaging (Windows): Source package: /Game/Blueprints/Story/StoryInteractable_Core_MistVault
UATHelper: Packaging (Windows): Target package: /Game/Blueprints/Story/StoryInteractable_Core
UATHelper: Packaging (Windows): Referenced object: /Game/Blueprints/Story/StoryInteractable_Core.StoryInteractable_Core_C:BlockerCapsule_GEN_VARIABLE

```

---

<div class="post-metadata">

**Author:** ![RAYHANS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RAYHANS](https://forums.unrealengine.com/u/RAYHANS)\
**Post date:** [May 8, 2024, 6:46pm 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/11 "2024-05-08T18:46:18Z")

</div>

I’ve found a solution from this post.  
[https://forums.unrealengine.com/t/quixel-megascans-fails-to-build-to-the-apple-vision-pro-in-5-4/1819932/4?u=rayhans](https://forums.unrealengine.com/t/quixel-megascans-fails-to-build-to-the-apple-vision-pro-in-5-4/1819932/4)

I was getting the problem from this two plugin.  
_Epic Games\UE\_5.4\Engine\Plugins\Bridge\Bridge.uplugin"_  
_Epic Games\UE\_5.4\Engine\Plugins\Interchange\Runtime\Interchange.uplugin"_

So I just edited the files and added “Android” in the SupportedTargetPlatforms for my android build. And it fixed the issue.

---

<div class="post-metadata">

**Author:** ![imakevideogames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/imakevideogames/32/497397_2.png) [@imakevideogames](https://forums.unrealengine.com/u/imakevideogames)\
**Post date:** [May 21, 2024, 6:47am 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/12 "2024-05-21T06:47:41Z")

</div>

If you’re getting this error, you can try adding this to your DefaultEditor.ini:

```auto
[CookSettings]
CookContentMissingSeverity=Warning

```

That downgrades the error to a warning. If it was spurious you’ll be okay, if not you probably won’t be :-D.

---

<div class="post-metadata">

**Author:** ![laerth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laerth](https://forums.unrealengine.com/u/laerth)\
**Post date:** [May 22, 2024, 2:34am 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/13 "2024-05-22T02:34:07Z")

</div>

Thanks, this allowed me to successfully cook and verify that my ~200 “content is missing from cook” errors are indeed spurious.

---

<div class="post-metadata">

**Author:** ![winngo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@winngo](https://forums.unrealengine.com/u/winngo)\
**Post date:** [May 31, 2024, 3:42am 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/14 "2024-05-31T03:42:32Z")

</div>

Solved my packing with Quixel Bridge assets for Android, thank you so much!

---

<div class="post-metadata">

**Author:** ![s54780478](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@s54780478](https://forums.unrealengine.com/u/s54780478)\
**Post date:** [June 4, 2024, 8:35am 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/15 "2024-06-04T08:35:17Z")

</div>

Thank you so much.

---

<div class="post-metadata">

**Author:** ![Javad\_Rezaii](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/javad_rezaii/32/948244_2.png) [@Javad\_Rezaii](https://forums.unrealengine.com/u/Javad_Rezaii)\
**Post date:** [June 12, 2024, 7:01pm 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/16 "2024-06-12T19:01:21Z")

</div>

Worked for me, Thanks.

---

<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:** [June 13, 2024, 2:16am 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/17 "2024-06-13T02:16:18Z")

</div>

For all of you still facing this issue it has been resolved in 5.4.2.  
Found last in the change list → [5.4.2 Change List](https://forums.unrealengine.com/t/5-4-2-hotfix-released/1889074)  
[UE-213910 Cook error (Content is missing from cook) raised when cooking deep blueprint hierarchy]

---

<div class="post-metadata">

**Author:** ![pierroledingo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pierroledingo](https://forums.unrealengine.com/u/pierroledingo)\
**Post date:** [June 15, 2024, 7:06pm 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/18 "2024-06-15T19:06:44Z")

</div>

I had the same issue, 5.4.2 did not fix it.  
One of my asset title contained an accent, rename it solved the issue

---

<div class="post-metadata">

**Author:** ![Twonch](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/twonch/32/963950_2.png) [@Twonch](https://forums.unrealengine.com/u/Twonch)\
**Post date:** [June 25, 2024, 8:31pm 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/19 "2024-06-25T20:31:24Z")

</div>

I’ve fixed it.

In my case, I recreate all the materials from ground up. I think there are some changes between 5.3 and 5.4 that material files are changed and migrating doesnt fix it automatically.

---

<div class="post-metadata">

**Author:** ![ADELH.SHANAB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ADELH.SHANAB](https://forums.unrealengine.com/u/ADELH.SHANAB)\
**Post date:** [July 11, 2024, 6:38pm 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/20 "2024-07-11T18:38:05Z")

</div>

TRY THIS \>\>\> I THINK ITS USEFUL

 ![cook](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/7/f57b3062303128df0e93b22c965a7d759446975f.jpeg)

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [July 23, 2024, 6:21am 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/21 "2024-07-23T06:21:50Z")

</div>

UE5.4.3 it is not fixed yet

[Next page](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.md?page=2)
