Packaging fails due to Landmass materials

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:


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

1 Like

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

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

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.

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