Home / Unreal / UE01

Unreal error: 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. — cause and fix

During the packaging cook, a source package references an object in a target package, but

ID
UE01
Engine
Unreal
Verification
原文命中(抓取页面)
Frequency
论坛点赞=0; 回复=4

Original message (verbatim)

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.

Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.

Trigger

During the packaging cook, a source package references an object in a target package, but that target package is marked NeverCook or is not cookable for the target platform, so the cook list is missing the content.

Typical cause

The reference relationship and cook flags disagree: the package holding the referenced asset never enters the platform cook output, and the source package cannot find the object at package time.

Step-by-step fix

  1. Check the referenced asset's cook flags and platform settings, and remove unnecessary NeverCook marks.
  2. Confirm the referenced content lives in a directory that cooks for the target platform.
  3. Clean broken references and re-run the cook to locate the missing package.

Source links

Per-entry sources and capture date are listed at /sources#UE01.

Related errors

Related Unreal errors

Need an offline quick-reference checklist?

Atlas error library Pro pack: 123 error references (110 single + 13 merged) plus a quick-fix guide, $19 one-time purchase, delivered as electronic files.

View Pro pack / order

Back to the all-errors index Checkout and buy the Pro pack — $19.00