# Packaging fails due to Landmass materials

**URL:** <https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292>\
**Category:** Platform & Builds\
**Tags:** Packaging-Failed, unreal-engine, Packaging, question\
**Created:** [June 3, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292 "2024-06-03T13:06:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NV\_Smth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NV\_Smth](https://forums.unrealengine.com/u/NV_Smth)\
**Post date:** [June 3, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292/1 "2024-06-03T13:06:31Z")

</div>

Hi, I recently started testing packaging my project and I got the classic “Unknown Cook Failure”.  
For starters, I want to package just one level, which was converted to a world partition type of level. In this level, I have a landscape for which I activated the Landmass plugin. Now, the Errors from Log point to M\_BrushSprite\_01 and BrushBounds, from the Landmass plugin, as the culprit since it has a reference to some engine assets, but I looked into the Reference Viewer, and no actor or asset has references to these material. I don’t understand why Unreal is trying to cook it.  
Any way to solve this?

Here is the Log:

```auto

UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Sprite/M_BrushSprite_01
UATHelper: Cooking (Windows): Target package: /Engine/EditorResources/S_Terrain
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorResources/S_Terrain.S_Terrain
UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Sprite/M_BrushSprite_01
UATHelper: Cooking (Windows): Target package: /Engine/EditorResources/S_Terrain
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorResources/S_Terrain
UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
UATHelper: Cooking (Windows): Target package: /Engine/EditorMaterials/TilingAALineIntegral
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorMaterials/TilingAALineIntegral.TilingAALineIntegral
UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
UATHelper: Cooking (Windows): Target package: /Engine/EditorMaterials/TilingAALineIntegral
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorMaterials/TilingAALineIntegral
UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
UATHelper: Cooking (Windows): Target package: /Engine/EditorMaterials/TilingAALineBoxFiltered
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorMaterials/TilingAALineBoxFiltered.TilingAALineBoxFiltered
UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
UATHelper: Cooking (Windows): Target package: /Engine/EditorMaterials/TilingAALineBoxFiltered
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorMaterials/TilingAALineBoxFiltered
UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
UATHelper: Cooking (Windows): Target package: /Engine/EditorMaterials/TilingAAGrid
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorMaterials/TilingAAGrid.TilingAAGrid
UATHelper: Cooking (Windows): LogInit: Display: 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.
UATHelper: Cooking (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
UATHelper: Cooking (Windows): Target package: /Engine/EditorMaterials/TilingAAGrid
UATHelper: Cooking (Windows): Referenced object: /Engine/EditorMaterials/TilingAAGrid

```

Edit: I noticed I posted this on Tutorial instead of Platform and Builds, my mistake sorry

---

<div class="post-metadata">

**Author:** ![KillerPenguin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killerpenguin/32/1005607_2.png) [@KillerPenguin](https://forums.unrealengine.com/u/KillerPenguin)\
**Post date:** [December 8, 2024, 7:51am UTC](https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292/2 "2024-12-08T07:51:11Z")

</div>

# Got the same error. Did you find out how to solve this?

---

<div class="post-metadata">

**Author:** ![MaNiAc-CJB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MaNiAc-CJB](https://forums.unrealengine.com/u/MaNiAc-CJB)\
**Post date:** [December 21, 2024, 3:50pm UTC](https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292/3 "2024-12-21T15:50:28Z")

</div>

I fixed the issue under packaging → “exclude editor content when cooking” and set it too false  
For some odd reason I am using editor content

```auto
Log UATHelper Cooking (Windows): Target package: /Engine/EditorResources/S_VectorFieldVol
Error PackagingResults 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.

```

---

<div class="post-metadata">

**Author:** ![KillerPenguin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killerpenguin/32/1005607_2.png) [@KillerPenguin](https://forums.unrealengine.com/u/KillerPenguin)\
**Post date:** [December 26, 2024, 7:49am UTC](https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292/4 "2024-12-26T07:49:14Z")

</div>

Arr well, I did solve this by going in and remove all the editor-related assets.

For some wierd reason, I never had this issue before. (Can’t have editor asset tagged along either. On tight harddrive budget here for mobile.)

---

<div class="post-metadata">

**Author:** ![mr.kubstoff](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mr.kubstoff/32/1056128_2.png) [@mr.kubstoff](https://forums.unrealengine.com/u/mr.kubstoff)\
**Post date:** [January 30, 2025, 10:37am UTC](https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292/5 "2025-01-30T10:37:35Z")

</div>

I have this issue as well, however it looks like Landmass is referencing those assets itself? So Engine content prevents Engine content from building.

I disabled `ExcludeEditorContentFromBuild` but the issue still persists.

```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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Sprite/M_BrushSprite_01
11:18:19 Target package: /Engine/EditorResources/S_Terrain
11:18:19 Referenced object: /Engine/EditorResources/S_Terrain.S_Terrain
11:18:19 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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Sprite/M_BrushSprite_01
11:18:19 Target package: /Engine/EditorResources/S_Terrain
11:18:19 Referenced object: /Engine/EditorResources/S_Terrain
11:18:19 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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
11:18:19 Target package: /Engine/EditorMaterials/TilingAALineIntegral
11:18:19 Referenced object: /Engine/EditorMaterials/TilingAALineIntegral.TilingAALineIntegral
11:18:19 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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
11:18:19 Target package: /Engine/EditorMaterials/TilingAALineIntegral
11:18:19 Referenced object: /Engine/EditorMaterials/TilingAALineIntegral
11:18:19 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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
11:18:19 Target package: /Engine/EditorMaterials/TilingAALineBoxFiltered
11:18:19 Referenced object: /Engine/EditorMaterials/TilingAALineBoxFiltered.TilingAALineBoxFiltered
11:18:19 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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
11:18:19 Target package: /Engine/EditorMaterials/TilingAALineBoxFiltered
11:18:19 Referenced object: /Engine/EditorMaterials/TilingAALineBoxFiltered
11:18:19 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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
11:18:19 Target package: /Engine/EditorMaterials/TilingAAGrid
11:18:19 Referenced object: /Engine/EditorMaterials/TilingAAGrid.TilingAAGrid
11:18:19 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.
11:18:19 Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Internal/BrushBounds
11:18:19 Target package: /Engine/EditorMaterials/TilingAAGrid
11:18:19 Referenced object: /Engine/EditorMaterials/TilingAAGrid

```

---

<div class="post-metadata">

**Author:** ![DeadEagleNL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deadeaglenl/32/1074113_2.png) [@DeadEagleNL](https://forums.unrealengine.com/u/DeadEagleNL)\
**Post date:** [June 11, 2025, 3:59pm UTC](https://forums.unrealengine.com/t/packaging-fails-due-to-landmass-materials/1887292/6 "2025-06-11T15:59:18Z")

</div>

Removing some of these assets can result in a broken Landscape Editor (Engine crash on landscape editor load)  
The temp fix im using right now is simple and listed below, go into the source, find and nuke the reference, these assets have no impact on my editor / packaged build when the edits below are performed, im not entirely sure but i assume Landmass plugin auto references these, i dont even need that plugin itself, only need it to use the Water plugin, kinda messy atm (im using 5.4) but the simple fixes below work in Editor & Packaged build (shipping)

Just go back into the /All folder, make sure you have plugins/engine content visible, then search for these assets:

🔹 /BrushBounds  
Open it  
Remove ALL TilingAA\* nodes

🔹 /M\_BrushSprite\_01  
Open material  
Find the S\_Terrain texture sample

OPTIONAL: You might have issues with these, or you might not:

🔹 /UnicolorCarpaint  
Open the material  
Locate T\_ShapeNormal texture  
Delete or replace

🔹 /C4DReference  
Open the material  
Find the WhiteSquareTexture reference  
Delete or replace
