Cook Failed

Hello I am getting Cook Failure Every time I build my game for Windows.

HMD is being used and Third Party plugin is used for Hydra.

I have attached the Log file.

Thank you.

[link text][1]

85528-cook-2016.04.06-15.04.15.txt (1.3 MB)

I’m far from an expert here but I tried cooking a project that failed and just by going through the log, looking for any instance of “LoadError”, seeing what file it was referencing and making sure I got rid of them all or placed them in the expected spot fixed the issue - looks like you have some in your log.

I found that my projects would cook properly once I made sure there were no errors.

Some of the files had names that were too long so I shortened them, I also right-clicked the content folder in UE4 and did ‘fix up redirectors’. This seems to just help things in general. Redirectors | Unreal Engine Documentation

Hope you manage to fix the issue!

Hello Bearof, Thank you for replying. The files getting LoadError are the Sample files I used as place holder, which I deleted after I replaced them with the final files. And some of them were never even used in the scene. What Can I do now?

Hey Das,

After looking over your logs, I see the following warnings and errors that should be corrected. Sometimes warnings will cause the cooking process to fail, and the errors definitely do.

[2016.04.06-09.34.08:514][  0]LogInit:Display: Warning/Error Summary
[2016.04.06-09.34.08:515][  0]LogInit:Display: ---------------------
[2016.04.06-09.34.08:537][  0]LogInit:Display: LogBlueprint:Error: [compiler BourakCarBackup] Error This blueprint (self) is not a MotionControllerPawn_C, therefore ' Target ' must have a connection.
[2016.04.06-09.34.08:537][  0]LogInit:Display: LogBlueprint:Error: [compiler BourakCarBackup] Error Variable node  Get Hand  uses an invalid target.  It may depend on a node that is not connected to the execution chain, and got purged.
[2016.04.06-09.34.08:538][  0]LogInit:Display: LogLinker:Warning: Asset '../../../Engine/Plugins/Runtime/LeapMotionController/Content/LM_PassthroughMaterial.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.04.06-09.34.08:538][  0]LogInit:Display: LogBlueprint:Warning: [compiler Veyron] Warning InputKey Event specifies invalid FKey'HydraRightTriggerAxis' for  HydraRightTriggerAxis 
[2016.04.06-09.34.08:538][  0]LogInit:Display: LogBlueprint:Warning: [compiler Veyron] Warning [0011.23] Compile of Veyron successful, but with 1 Warning(s) [in 32 ms]
[2016.04.06-09.34.08:538][  0]LogInit:Display: LogBlueprint:Warning: [compiler Veyron] Warning [0011.23] Compile of Veyron successful, but with 2 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:538][  0]LogInit:Display: LogBlueprint:Warning: [compiler Veyron] Warning [0011.23] Compile of Veyron successful, but with 3 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:539][  0]LogInit:Display: LogBlueprint:Warning: [compiler GreyosiCar] Warning InputKey Event specifies invalid FKey'HydraRightTriggerAxis' for  HydraRightTriggerAxis 
[2016.04.06-09.34.08:539][  0]LogInit:Display: LogBlueprint:Warning: [compiler GreyosiCar] Warning [0011.32] Compile of GreyosiCar successful, but with 1 Warning(s) [in 14 ms]
[2016.04.06-09.34.08:539][  0]LogInit:Display: LogBlueprint:Warning: [compiler GreyosiCar] Warning [0011.32] Compile of GreyosiCar successful, but with 2 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:539][  0]LogInit:Display: LogBlueprint:Warning: [compiler GreyosiCar] Warning [0011.32] Compile of GreyosiCar successful, but with 3 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:539][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning InputKey Event specifies invalid FKey'HydraRightBumper' for  HydraRightBumper 
[2016.04.06-09.34.08:540][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning InputKey Event specifies invalid FKey'HydraLeftTriggerAxis' for  HydraLeftTriggerAxis 
[2016.04.06-09.34.08:540][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning InputKey Event specifies invalid FKey'HydraLeftBumper' for  HydraLeftBumper 
[2016.04.06-09.34.08:540][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning InputKey Event specifies invalid FKey'HydraRightTriggerAxis' for  HydraRightTriggerAxis 
[2016.04.06-09.34.08:540][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning [0011.45] Compile of MotionControllerPawn successful, but with 4 Warning(s) [in 32 ms]
[2016.04.06-09.34.08:541][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning [0011.46] Compile of MotionControllerPawn successful, but with 5 Warning(s) [in 2 ms]
[2016.04.06-09.34.08:541][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning [0011.46] Compile of MotionControllerPawn successful, but with 6 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:541][  0]LogInit:Display: LogBlueprint:Warning: [compiler Veyron] Warning [0011.52] Compile of Veyron successful, but with 1 Warning(s) [in 31 ms]
[2016.04.06-09.34.08:541][  0]LogInit:Display: LogBlueprint:Warning: [compiler Veyron] Warning [0011.52] Compile of Veyron successful, but with 2 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:542][  0]LogInit:Display: LogBlueprint:Warning: [compiler Veyron] Warning [0011.52] Compile of Veyron successful, but with 3 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:542][  0]LogInit:Display: LogBlueprint:Warning: [compiler GreyosiCar] Warning [0011.57] Compile of GreyosiCar successful, but with 1 Warning(s) [in 16 ms]
[2016.04.06-09.34.08:542][  0]LogInit:Display: LogBlueprint:Warning: [compiler GreyosiCar] Warning [0011.57] Compile of GreyosiCar successful, but with 2 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:542][  0]LogInit:Display: LogBlueprint:Warning: [compiler GreyosiCar] Warning [0011.57] Compile of GreyosiCar successful, but with 3 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:542][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning [0011.62] Compile of MotionControllerPawn successful, but with 4 Warning(s) [in 34 ms]
[2016.04.06-09.34.08:543][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning [0011.62] Compile of MotionControllerPawn successful, but with 5 Warning(s) [in 0 ms]
[2016.04.06-09.34.08:543][  0]LogInit:Display: LogBlueprint:Warning: [compiler MotionControllerPawn] Warning [0011.62] Compile of MotionControllerPawn successful, but with 6 Warning(s) [in 1 ms]
[2016.04.06-09.34.08:543][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object 'Object /Engine/Tutorial/SubEditors/PersonaAnimEditorTutorial.PersonaAnimEditorTutorial_C'
[2016.04.06-09.34.08:543][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/MobileResources/HUD/VirtualJoystick_Thumb.uasset
[2016.04.06-09.34.08:544][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineFonts/Roboto.uasset
[2016.04.06-09.34.08:544][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/Widget3DPassThrough_Translucent.uasset
[2016.04.06-09.34.08:544][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/Widget3DPassThrough.uasset
[2016.04.06-09.34.08:544][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/Functions/Engine_MaterialFunctions02/Texturing/ScreenAlignedUVs.uasset
[2016.04.06-09.34.08:545][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineResources/WhiteSquareTexture.uasset
[2016.04.06-09.34.08:546][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/Functions/Engine_MaterialFunctions01/Shading/PowerToRoughness.uasset
[2016.04.06-09.34.08:547][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/Functions/Engine_MaterialFunctions01/Shading/ConvertFromDiffSpec.uasset
[2016.04.06-09.34.08:547][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/WorldGridMaterial.uasset
[2016.04.06-09.34.08:548][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/Functions/Engine_MaterialFunctions01/Opacity/CameraDepthFade.uasset
[2016.04.06-09.34.08:548][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/T_Default_Material_Grid_M.uasset
[2016.04.06-09.34.08:548][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/T_Default_Material_Grid_N.uasset
[2016.04.06-09.34.08:549][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/DefaultDeferredDecalMaterial.uasset
[2016.04.06-09.34.08:549][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/DefaultDiffuse.uasset
[2016.04.06-09.34.08:549][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/DefaultLightFunctionMaterial.uasset
[2016.04.06-09.34.08:550][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/DefaultPostProcessMaterial.uasset
[2016.04.06-09.34.08:550][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/Functions/Engine_MaterialFunctions02/Utility/BreakOutFloat2Components.uasset
[2016.04.06-09.34.08:550][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineResources/DefaultTexture.uasset
[2016.04.06-09.34.08:551][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/Widget3DPassThrough_Translucent_OneSided.uasset
[2016.04.06-09.34.08:551][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/Widget3DPassThrough_Opaque.uasset
[2016.04.06-09.34.08:552][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/Widget3DPassThrough_Opaque_OneSided.uasset
[2016.04.06-09.34.08:552][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/Widget3DPassThrough_Masked.uasset
[2016.04.06-09.34.08:552][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EngineMaterials/Widget3DPassThrough_Masked_OneSided.uasset
[2016.04.06-09.34.08:552][  0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage D:/Office_Projects/3D/HotterWheels/UE4 Project/Engine/Content/EditorResources/S_Actor.uasset
[2016.04.06-09.34.08:553][  0]LogInit:Display: NOTE: Only first 50 warnings displayed.
[2016.04.06-09.34.08:553][  0]LogInit:Display: 
[2016.04.06-09.34.08:553][  0]LogInit:Display: Failure - 4 error(s), 1633 warning(s)

Hey Das,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

Hello , Bourak Backup was the culprit. Because it was a backup BP I forgot to delete it. Now after I deleted the Blueprint of Bourak Backup, I can build my game. Thank you very much.