I’m invoking the cook in powershell with
.\UE4Editor-Cmd.exe PROJ -run=cook -targetplatform=Windows
It’s failing with the following error:
Error: Fatal error: [File:C:\wkspc\main\UE4\Engine\Source\Runtime\CoreUObject\Private\UObject\LinkerSave.cpp] [Line: 240] Error: Attempt to map an object during save that was not listed as a dependency. Saving Export 824 K2Node_CallFunction_1688 in /Game/PROJ/UI/prototyping/HUD/Blueprints/HUD_PROJ. Missing Dep on Import /Script/Engine.
There are no related data validation errors, and the cook succeeds within the editor if I run it there, the error only appears when using the command line.
What is going on here?