Cook Failed: Automation Tool terminated with an exception

Hello guys,

I’m trying to build a project, and I always get the “automation tool terminated with an exception” error and I don’t know what’s causing it and so far the solutions online from the answer hub don’t seem to work.

The project has some C++ and BP in it and VS has common tools installed as well as Windows 10 SDK. At this time I do not know why this is popping up. I’m uploading the log for the packaging attempt. In regards to the errors and the warnings I am working on them as we speak. I’m using the Launcher 4.12.5 build. I am also uploading the config folder in case the problem comes from there.

link text

Can some one help out here? Thank you and have a nice day.

link text

Hello bryst_m153,

It seems like there are many referencing errors in your project. Most of the lines in the log file that you gave are error or warning messages. Here is the summary from near the bottom.

Warning/Error Summary (Unique only)
[2016.08.06-03.18.32:627][  0]LogInit:Display: -----------------------------------
[2016.08.06-03.18.32:642][  0]LogInit:Display: LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/ThirdPersonBP/Blueprints/Projectiles/EAG_ProjectileMain.EAG_ProjectileMain_C:RecopilationEffectsSettings'. Unknown structure.
[2016.08.06-03.18.32:643][  0]LogInit:Display: LogBlueprint:Error: Compiler Error The property associated with  Lives Residual  could not be found from Source: /Game/ThirdPersonBP/Blueprints/UMG_DinosaurLivesLeft.UMG_DinosaurLivesLeft
[2016.08.06-03.18.32:643][  0]LogInit:Display: LogBlueprint:Error: Compiler Error The property associated with  Lives Residual  could not be found from Source: /Game/ThirdPersonBP/Blueprints/UMG_HumanLivesLeft.UMG_HumanLivesLeft
[2016.08.06-03.18.32:643][  0]LogInit:Display: LogOutputDevice:Error: 
begin: stack for UAT
[2016.08.06-03.18.32:644][  0]LogInit:Display: LogOutputDevice:Error: 
end: stack for UAT
[2016.08.06-03.18.32:644][  0]LogInit:Display: LogBlueprint:Error: Compiler Error The property associated with  Overlappingtheclimbing Actor?  could not be found from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain
[2016.08.06-03.18.32:645][  0]LogInit:Display: LogBlueprint:Error: Compiler Error The property associated with  Requestto Climb  could not be found from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain
[2016.08.06-03.18.32:645][  0]LogInit:Display: LogBlueprint:Error: Compiler Error The property associated with  Climbing Stats  could not be found from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain
[2016.08.06-03.18.32:646][  0]LogInit:Display: LogBlueprint:Error: Compiler Error This blueprint (self) is not compatible with ' Target ', therefore that pin must have a connection. from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain
[2016.08.06-03.18.32:646][  0]LogInit:Display: LogBlueprint:Error: Compiler Error Could not find a function named "CasttoAnimBPPure" in 'EAG_Climbing-InteractingActorMain'.
Make sure 'EAG_Climbing-InteractingActorMain' has been compiled for  Castto Anim BPPure  from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain
[2016.08.06-03.18.32:647][  0]LogInit:Display: LogBlueprint:Error: Compiler Error Default value '' for  Dinosaur Savedand Valid  is invalid: 'PinSubCategoryObject on pin 'DinosaurSavedandValid' is NULL and PinSubCategory is '' not 'self'' from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain
[2016.08.06-03.18.32:647][  0]LogInit:Display: LogBlueprint:Error: Compiler Error Default value '' for  Dinosaur Anim BP  is invalid: 'PinSubCategoryObject on pin 'DinosaurAnimBP' is NULL and PinSubCategory is '' not 'self'' from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain
[2016.08.06-03.18.32:648][  0]LogInit:Display: LogConsoleManager:Warning: Setting the console variable 'r.Streaming.PoolSize' with 'SetByScalability' was ignored as it is lower priority than the previous 'SetByProjectSetting'
[2016.08.06-03.18.32:648][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SuperGrid/StarterPack/Materials/Functions/Basic/BreakSet.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:649][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SuperGrid/StarterPack/Materials/Functions/Basic/MakeSet.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:649][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SuperGrid/StarterPack/Materials/Functions/Basic/Roughness.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.[2016.08.06-03.18.32:650][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SuperGrid/StarterPack/Materials/Functions/Texture/Dye_MultiColor.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:650][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SuperGrid/StarterPack/Materials/Functions/Texture/Tex_SimpleGrid.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:651][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SuperGrid/StarterPack/Materials/Functions/UV/UV_SetupGrid.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:651][  0]LogInit:Display: LogClass:Warning: Property RecopilationEffectsSettings of EAG_ProjectileMain_C has a struct type mismatch (tag STRUCT_REINST_ProjectileParticleandsoundSystem_0 != prop FallbackStruct) in package:  ../../../../../../EAGBuild/August3/Aug3/Content/ThirdPersonBP/Blueprints/Projectiles/EAG_ProjectileMain.uasset. If that struct got renamed, add an entry to ActiveStructRedirects.
[2016.08.06-03.18.32:652][  0]LogInit:Display: LogClass:Warning: Property RecopilationEffectsSettings of EAG_ProjectileMain_C has a struct type mismatch (tag FallbackStruct != prop ProjectileParticleandsoundSystem) in package:  FObjectReader. If that struct got renamed, add an entry to ActiveStructRedirects.
[2016.08.06-03.18.32:652][  0]LogInit:Display: LogBlueprint:Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn't find inherited parent component 'Scene' for 'Scene_0' in BlueprintGeneratedClass 'REINST_Flare-Red_C_83' (it may have been removed)
[2016.08.06-03.18.32:652][  0]LogInit:Display: LogClass:Warning: Property RecopilationEffectsSettings of Flare-Red_C has a struct type mismatch (tag FallbackStruct != prop ProjectileParticleandsoundSystem) in package:  FObjectReader. If that struct got renamed, add an entry to ActiveStructRedirects.
[2016.08.06-03.18.32:653][  0]LogInit:Display: LogClass:Warning: Property RecopilationEffectsSettings of Flare-Red_Interactive_C has a struct type mismatch (tag FallbackStruct != prop ProjectileParticleandsoundSystem) in package:  FObjectReader. If that struct got renamed, add an entry to ActiveStructRedirects.
[2016.08.06-03.18.32:653][  0]LogInit:Display: LogBlueprint:Warning: [UMG_DinosaurLivesLeft] CreatePinForVariable: 'LivesResidual' variable not found. Base class was probably changed.
[2016.08.06-03.18.32:654][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.50] Compile of UMG_DinosaurLivesLeft failed. 1 Fatal Issue(s) 0 Warning(s) [in 103 ms] (/Game/ThirdPersonBP/Blueprints/UMG_DinosaurLivesLeft.UMG_DinosaurLivesLeft)
[2016.08.06-03.18.32:654][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.50] Compile of UMG_DinosaurLivesLeft failed. 1 Fatal Issue(s) 1 Warning(s) [in 0 ms] (/Game/ThirdPersonBP/Blueprints/UMG_DinosaurLivesLeft.UMG_DinosaurLivesLeft)
[2016.08.06-03.18.32:655][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.50] Compile of UMG_DinosaurLivesLeft failed. 1 Fatal Issue(s) 2 Warning(s) [in 0 ms] (/Game/ThirdPersonBP/Blueprints/UMG_DinosaurLivesLeft.UMG_DinosaurLivesLeft)
[2016.08.06-03.18.32:655][  0]LogInit:Display: LogBlueprint:Warning: [UMG_HumanLivesLeft] CreatePinForVariable: 'LivesResidual' variable not found. Base class was probably changed.
[2016.08.06-03.18.32:655][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.51] Compile of UMG_HumanLivesLeft failed. 1 Fatal Issue(s) 0 Warning(s) [in 6 ms] (/Game/ThirdPersonBP/Blueprints/UMG_HumanLivesLeft.UMG_HumanLivesLeft)
[2016.08.06-03.18.32:656][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.52] Compile of UMG_HumanLivesLeft failed. 1 Fatal Issue(s) 1 Warning(s) [in 0 ms] (/Game/ThirdPersonBP/Blueprints/UMG_HumanLivesLeft.UMG_HumanLivesLeft)
[2016.08.06-03.18.32:656][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.52] Compile of UMG_HumanLivesLeft failed. 1 Fatal Issue(s) 2 Warning(s) [in 0 ms] (/Game/ThirdPersonBP/Blueprints/UMG_HumanLivesLeft.UMG_HumanLivesLeft)
[2016.08.06-03.18.32:656][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning  Sequence  has no valid output
[2016.08.06-03.18.32:656][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.68] Compile of EAG_GameState successful, but with 1 Warning(s) [in 18 ms] (/Game/ThirdPersonBP/Blueprints/GameControl/EAG_GameState.EAG_GameState)
[2016.08.06-03.18.32:656][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.68] Compile of EAG_GameState successful, but with 2 Warning(s) [in 0 ms] (/Game/ThirdPersonBP/Blueprints/GameControl/EAG_GameState.EAG_GameState)
[2016.08.06-03.18.32:657][  0]LogInit:Display: LogBlueprint:Warning: Compiler Warning [0110.68] Compile of EAG_GameState successful, but with 3 Warning(s) [in 0 ms] (/Game/ThirdPersonBP/Blueprints/GameControl/EAG_GameState.EAG_GameState)[2016.08.06-03.18.32:657][  0]LogInit:Display: LogBlueprint:Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn't find inherited parent component 'DefaultSceneRoot' for 'StaticMesh_0' in BlueprintGeneratedClass 'REINST_EAG_GeneratorBP_C_140' (it may have been removed)
[2016.08.06-03.18.32:657][  0]LogInit:Display: LogBlueprint:Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn't find inherited parent component 'DefaultSceneRoot' for 'Camera' in BlueprintGeneratedClass 'REINST_Recon_MainSniper_C_195' (it may have been removed)
[2016.08.06-03.18.32:658][  0]LogInit:Display: LogClass:Warning: Property RecopilationEffectsSettings of EAG_SniperGunProjectile_C has a struct type mismatch (tag FallbackStruct != prop ProjectileParticleandsoundSystem) in package:  FObjectReader. If that struct got renamed, add an entry to ActiveStructRedirects.
[2016.08.06-03.18.32:659][  0]LogInit:Display: LogClass:Warning: Property RecopilationEffectsSettings of EAG_ShotGunProjectile_C has a struct type mismatch (tag FallbackStruct != prop ProjectileParticleandsoundSystem) in package:  FObjectReader. If that struct got renamed, add an entry to ActiveStructRedirects.[2016.08.06-03.18.32:659][  0]LogInit:Display: LogLinker:Warning: Can't find file '/Game/AmplifyLUTPack/PopularLooks/Chocolatier'
[2016.08.06-03.18.32:659][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Game/AmplifyLUTPack/PopularLooks/Chocolatier': Can't find file '/Game/AmplifyLUTPack/PopularLooks/Chocolatier'
[2016.08.06-03.18.32:660][  0]LogInit:Display: LogLinker:Warning: Can't find file '/Game/Blueprints/Tactical-System/Scanning/NightVisionMaterial_Inst'
[2016.08.06-03.18.32:660][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Game/Blueprints/Tactical-System/Scanning/NightVisionMaterial_Inst': Can't find file '/Game/Blueprints/Tactical-System/Scanning/NightVisionMaterial_Inst'
[2016.08.06-03.18.32:660][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SFX/Sounds/Rock_Impact_Large.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:661][  0]LogInit:Display: LogLinker:Warning: Can't find file '/Game/ProceduralNaturePack/Materials/rocks/boulder_a'
[2016.08.06-03.18.32:661][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Game/ProceduralNaturePack/Materials/rocks/boulder_a': Can't find file '/Game/ProceduralNaturePack/Materials/rocks/boulder_a'
[2016.08.06-03.18.32:661][  0]LogInit:Display: LogLinker:Warning: Can't find file for asset '/Game/ProceduralNaturePack/Materials/rocks/boulder_a' while loading ../../../../../../EAGBuild/August3/Aug3/Content/StaticMeshes/Environment/SculptedRockPack/Meshes/Rock_02.uasset.
[2016.08.06-03.18.32:662][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '../../../../../../EAGBuild/August3/Aug3/Content/StaticMeshes/Environment/SculptedRockPack/Meshes/Rock_02.uasset': Can't find file for asset '/Game/ProceduralNaturePack/Materials/rocks/boulder_a' while loading ../../../../../../EAGBuild/August3/Aug3/Content/StaticMeshes/Environment/SculptedRockPack/Meshes/Rock_02.uasset.
[2016.08.06-03.18.32:662][  0]LogInit:Display: LogLinker:Warning: Can't find file '/Game/ProceduralNaturePack/Materials/rocks/boulder_aLod'
[2016.08.06-03.18.32:663][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Game/ProceduralNaturePack/Materials/rocks/boulder_aLod': Can't find file '/Game/ProceduralNaturePack/Materials/rocks/boulder_aLod'
[2016.08.06-03.18.32:663][  0]LogInit:Display: LogLinker:Warning: Can't find file for asset '/Game/ProceduralNaturePack/Materials/rocks/boulder_aLod' while loading ../../../../../../EAGBuild/August3/Aug3/Content/StaticMeshes/Environment/SculptedRockPack/Meshes/Rock_02.uasset.
[2016.08.06-03.18.32:664][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '../../../../../../EAGBuild/August3/Aug3/Content/StaticMeshes/Environment/SculptedRockPack/Meshes/Rock_02.uasset': Can't find file for asset '/Game/ProceduralNaturePack/Materials/rocks/boulder_aLod' while loading ../../../../../../EAGBuild/August3/Aug3/Content/StaticMeshes/Environment/SculptedRockPack/Meshes/Rock_02.uasset.
[2016.08.06-03.18.32:664][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SFX/Sounds/Rock_Impact_Med.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.[2016.08.06-03.18.32:664][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SFX/Sounds/Rock_Impact_Smll.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:664][  0]LogInit:Display: LogLinker:Warning: Asset '../../../../../../EAGBuild/August3/Aug3/Content/SFX/Sounds/Saurophaganax_Idle2.uasset' has been saved with empty engine version. The asset will be loaded but may be incompatible.
[2016.08.06-03.18.32:664][  0]LogInit:Display: LogLinker:Warning: Can't find file '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor-Feet_Child'
[2016.08.06-03.18.32:665][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor-Feet_Child': Can't find file '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor-Feet_Child'
[2016.08.06-03.18.32:665][  0]LogInit:Display: LogLinker:Warning: Can't find file '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor'
[2016.08.06-03.18.32:665][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor': Can't find file '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor'
[2016.08.06-03.18.32:665][  0]LogInit:Display: LogLinker:Warning: Can't find file '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor-BitingChild'
[2016.08.06-03.18.32:666][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor-BitingChild': Can't find file '/Game/Blueprints/Dinosaur_ganax/Blueprints_March/EAG_TailAttack_Actor-BitingChild'
[2016.08.06-03.18.32:666][  0]LogInit:Display: NOTE: Only first 50 warnings displayed.
[2016.08.06-03.18.32:666][  0]LogInit:Display: 
[2016.08.06-03.18.32:666][  0]LogInit:Display: Failure - 68 error(s), 2854 warning(s)

These errors will need to be fixed before the project is able to compile. Most of them seem to be missing references to either assets or properties while a few are some properties that are not being initialized and thus being given null values.

Hello, Matthew.

I understand. However, why does this happen? Everything works in-editor. Is there a specific workaround that I can try to do in order to getting it working?

It working in the editor doesn’t mean that all of the references are resolved. Packaging goes through each asset and attempts to put it into the .pak file, meaning it needs to check every reference and make sure every file can see the other files it’s referencing.

There isn’t really a “workaround” to this, you’ll need to go through each message given and ensure that the assets that are being referenced are there. One thing that could help, if you’ve moved assets around a lot, would be to use the “Fix Up Redirectors in Folder” option when right-clicking a folder in the Content Browser.

In the future, I would suggest packaging often when in development to ensure that you catch things such as this early on.

In regards to the properties not being initialized, what’s the work around? I mean, when looking for the asset, how can I enable that property?

Taking an example from the messages:

LogInit:Display: LogBlueprint:Error: Compiler Error Default value '' for  Dinosaur Savedand Valid  is invalid: 'PinSubCategoryObject on pin 'DinosaurSavedandValid' is NULL and PinSubCategory is '' not 'self'' from Source: /Game/ThirdPersonBP/Blueprints/Tactical-System/ClimbingFactor/EAG_Climbing-InteractingActorMain.EAG_Climbing-InteractingActorMain

It looks like a pin called DinosaurSavedandValid (A boolean pin perhaps?) isn’t having any input go to it, or at least the input that does go to it is null. I believe the message after is saying that it is in a category where it can’t be set to “Self” when empty, and thus there needs to be something input there. It also looks like this is inside of a blueprint called EAG_Climbing-InteractingActorMain. I can’t really say more without seeing the blueprint and the node in question.