Failed Build Error: "PackagingResults: Error: Re-Entry of Instructions" "Unknown Cook Failure"

UE5.4 / Windows Build
I’ve cleaned up all of my other errors but I have probably 100 of these Re-Entry of Instruction errors I am currently stumped on how to troubleshoot. Anyone have experience dealing with these and the Unknown Cool failure?

Last few lines of the log.txt:

LogInit: Display: Warning/Error Summary (Unique only)
LogInit: Display: -----------------------------------
LogInit: Display: LogRigVM: Error: Re-Entry of Instructions 834 - 935.
LogInit: Display: LogRigVM: Error: Re-Entry of Instructions 962 - 1063.
LogInit: Display: LogRigVM: Error: Re-Entry of Instructions 715 - 733.
LogInit: Display: LogRigVM: Error: Re-Entry of Instructions 912 - 915.
LogInit: Display: LogRigVM: Error: Re-Entry of Instructions 1038 - 1041.
LogInit: Display: LogConsoleManager: Warning: Setting the console variable 'r.Streaming.PoolSize' with 'SetByScalability' was ignored as it is lower priority than the previous 'SetByProjectSetting'. Value remains '0'
LogInit: Display: LogCollisionProfile: Warning: Profile (NavLinkSup) - Custom Channel Name = 'Projectiles_Object' hasn't been found
LogInit: Display: LogCollisionProfile: Warning: Profile (NavLinkSup) - Custom Channel Name = 'PhysicalProjectile' hasn't been found
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_Exterior_001.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_Exterior_001': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_Exterior_001.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_Exterior_001'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_Engines_001_Engine_RightSide.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_Engines_001_Engine_RightSide': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_Engines_001_Engine_RightSide.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_Engines_001_Engine_RightSide'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_Engines_001_Engine_LeftSide.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_Engines_001_Engine_LeftSide': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_Engines_001_Engine_LeftSide.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_Engines_001_Engine_LeftSide'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Window_Front.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Window_Front': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Window_Front.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Window_Front'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Window_BottomFront.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Window_BottomFront': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Window_BottomFront.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Window_BottomFront'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Window_Bottom.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Window_Bottom': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Window_Bottom.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Window_Bottom'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level4.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level4': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level4.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level4'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level3.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level3': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level3.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level3'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level2.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level2': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level2.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level2'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level1.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level1': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Interior_Ramp_Level1.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Interior_Ramp_Level1'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Engine_RightSide.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Engine_RightSide': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Engine_RightSide.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Engine_RightSide'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Engine_LeftSide.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Engine_LeftSide': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Engine_LeftSide.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Engine_LeftSide'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_EngineDampers.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_EngineDampers': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_EngineDampers.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_EngineDampers'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Interior_Top.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Interior_Top': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Interior_Top.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Interior_Top'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Interior_Mid.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Interior_Mid': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Interior_Mid.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Interior_Mid'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Interior_Bottom.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Interior_Bottom': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Interior_Bottom.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Interior_Bottom'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Exterior.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Exterior': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_Chassis_Exterior.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_Chassis_Exterior'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_CargoDoor_Top.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_CargoDoor_Top': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_CargoDoor_Top.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_CargoDoor_Top'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_CargoDoor_Bottom.uasset: Failed to load '/Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_CargoDoor_Bottom': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\Ships\ArsenalShip\ArsenalShip_001_CargoDoor_Bottom.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Ships/ArsenalShip/oldShip/ArsenalShip_001_CargoDoor_Bottom'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: Failed to load '/Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_BaseColor': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_BaseColor'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: Failed to load '/Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_Metallic': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_Metallic'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: Failed to load '/Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_Normal': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_Normal'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: Failed to load '/Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_Oclussion': Can't find file.
LogInit: Display: LogLinker: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: VerifyImport: Failed to load package for import object 'Package /Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_Oclussion'
LogInit: Display: LogUObjectGlobals: Warning: [AssetLog] D:\Workspaces\xxx.Guard\Content\World_Assets\M_ProceduralObject_Master.uasset: Failed to load '/Game/World_Assets/Locations/Operations_Facility/Doors/door1/door1_door_M_Roughness': Can't find file.
LogInit: Display: NOTE: Only first 50 warnings displayed.
LogInit: Display:
LogInit: Display: Failure - 79 error(s), 938 warning(s)
LogInit: Display:

Execution of commandlet took:  4m 0s (240.08 seconds)
LogShaderCompilers: Display: Shaders left to compile 0
LogStudioTelemetry: Display: Shutdown StudioTelemetry Module
Took 252.51s to run UnrealEditor-Cmd.exe, ExitCode=1
SafeDeleteFile C:\Users\xxx\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Applications+UE_5.4\Cook-2024.08.22-16.08.58.txt
SafeCopyFile D:\Applications\UE_5.4\Engine\Programs\AutomationTool\Saved\Cook-2024.08.22-16.04.45.txt C:\Users\xxx\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Applications+UE_5.4\Cook-2024.08.22-16.08.58.txt
SafeDeleteFile D:\Applications\UE_5.4\Engine\Programs\AutomationTool\Saved\Cook-2024.08.22-16.04.45.txt
==============================================================================
Cook failed.
(see C:\Users\xxx\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Applications+UE_5.4\Log.txt for full exception trace)

CommandletException: Editor terminated with exit code 1 while running Cook for D:\Workspaces\xxx.Guard\xxx.uproject; see log C:\Users\xxx\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Applications+UE_5.4\Cook-2024.08.22-16.08.58.txt
   at AutomationTool.CommandUtils.FinishRunCommandlet(FileReference ProjectName, String Commandlet, DateTime StartTime, IProcessResult RunResult, String LocalLogFile, String& DestLogFile, UInt32 ErrorLevel) in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 472
   at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UnrealExe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters) in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 93
   at AutomationScripts.Project.Cook(ProjectParams Params) in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 295Wrapped by AutomationException: Cook failed.
   at AutomationScripts.Project.Cook(ProjectParams Params) in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 305
   at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 235
   at BuildCookRun.ExecuteBuild() in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
   at AutomationTool.BuildCommand.Execute() in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 345
   at AutomationTool.BuildCommand.ExecuteAsync() in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 354
   at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 270
   at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\Applications\UE_5.4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 164
==============================================================================
AutomationTool executed for 0h 5m 16s
AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

Last few lines from teh cook log:

LogInit: Display: NOTE: Only first 50 warnings displayed.
LogInit: Display: 
LogInit: Display: Failure - 79 error(s), 938 warning(s)
LogInit: Display: 
Execution of commandlet took:  4m 0s (240.08 seconds)
LogCore: Engine exit requested (reason: EngineExit() was called; note: exit was already requested)
LogStaticMesh: Abandoning remaining async distance field tasks for shutdown
LogStaticMesh: Abandoning remaining async card representation tasks for shutdown
LogWorldMetrics: [UWorldMetricsSubsystem::Deinitialize]
LogWorldMetrics: [UWorldMetricsSubsystem::Clear]
LogLevelSequenceEditor: LevelSequenceEditor subsystem deinitialized.
LogStudioTelemetry: Ended StudioTelemetry Session
LogExit: Preparing to exit.
LogUObjectHash: Compacting FUObjectHashTables data took  10.31ms
LogDemo: Cleaned up 0 splitscreen connections, owner deletion: enabled
LogExit: Editor shut down
LogExit: Object subsystem successfully closed.
LogShaderCompilers: Display: Shaders left to compile 0
LogOpenImageDenoise: OIDN shutting down
LogStudioTelemetry: Display: Shutdown StudioTelemetry Module
LogSteamShared: Freeing the Steam Loaded Modules...
LogPakFile: Destroying PakPlatformFile
LogExit: Exiting.
Log file closed, 08/22/24 16:08:56

Greetings @Rhadley

I haven’t saw that before, personally. I’d be glad to look into it and see what I can find. Does this occur in other UE versions also or just 5.4? Also, is it just this project or multiple different ones?

The issue resolved itself after updating from 5.4.2 to 5.4.3. I don’t know why. I appreciate the offer though.

You’re welcome. I’m glad you got it fixed!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.