LogCook: Error: Content is missing from cook in Unreal Engine
A package that will be cooked references a package that the cooker is not allowed to include for this platform. Shipping it would leave a broken reference, so the cook fails.
Paste your log: find the cause in seconds Runs in your browser, nothing is uploaded.
Common causes
- The target belongs to a plugin (the plugin) that is disabled for this platform, or whose content is editor-only.
- The target folder is listed in "Directories to never cook" in the packaging settings.
- An editor-only asset is referenced by a runtime asset.
How to fix it
- Read the Source package and Target package lines under the error: the source is your asset, the target is what it points to.
- If the target is in a plugin, open Edit > Plugins, find the plugin and check it is enabled and allowed for this platform (see the plugin's .uplugin "PlatformAllowList").
- Otherwise check Project Settings > Packaging > Directories to never cook.
- If the reference is not needed, remove it from the source asset; if it is needed, copy the target asset into /Game.
- Save and cook again.
Questions
Can it be caught before cooking?
Yes, it can be checked before you start a cook: Cross the reference graph with plugin platform allow-lists and the never-cook directories.