The blueprint compiles and runs in the editor, but doesn’t want to cook when being packaged. How do I fix this?
Build output:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2018.04.15-11.02.08:044][ 0]LogInit:Display: LogBlueprintSupport:Warning: You’re exporting a UBlueprint (‘botCharacter’) editor object with your cook. This is now DEPRECATED (the Blueprint’s class & CDO should be all that’s needed). Please fix up any relience you have on it, and add the following to you
r editor ini file (these settings will become the default):
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [EditoronlyBP]
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: bAllowClassAndBlueprintPinMatching=true
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: bReplaceBlueprintWithClass=true
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: bDontLoadBlueprintOutsideEditor=true
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: bBlueprintIsNotBlueprintType=true
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2018.04.15-11.02.08:054][ 0]LogInit:Display: NOTE: Only first 50 warnings displayed.
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2018.04.15-11.02.08:126][ 0]LogInit:Display:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2018.04.15-11.02.08:136][ 0]LogInit:Display: Failure - 5 error(s), 142 warning(s)
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2018.04.15-11.02.08:152][ 0]LogInit:Display:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd:
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: Execution of commandlet took: 677.70 seconds
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2018.04.15-11.02.16:954][ 0]LogOnline:Display: Unloading online subsystem: NULL
UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: Took 733.7611001s to run UE4Editor-Cmd.exe, ExitCode=1
UATHelper: Packaging (Android (ASTC)): Project.Cook: Cook failed. Deleting cooked data.
UATHelper: Packaging (Android (ASTC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. —> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for C:\Users\owner\Documents\Unreal Projects\Desktop Dungeon\AIProject 4.7\Desktop Dungeon.uproject; see log C:\Users\owner\AppD
ata\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+4.14\Cook-2018.04.15-12.02.19.txt
UATHelper: Packaging (Android (ASTC)): at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters)
UATHelper: Packaging (Android (ASTC)): at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Android (ASTC)): — End of inner exception stack trace —
UATHelper: Packaging (Android (ASTC)): at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Android (ASTC)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Android (ASTC)): at BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Android (ASTC)): at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Android (ASTC)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary
1 Commands)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.Program.Main()
UATHelper: Packaging (Android (ASTC)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure