Sorry, but I have to say it so bluntly.
After working on a project for over a year now and going through ups and downs with UE I was a pretty happy camper. Until now.
I am now trying to cook a version for small scale testing and I’m getting bothing but red line errors in the cooking tool WITH ABSOLUTELY NO HINT WHATSOEVER WHAT GOES WRONG!
I mean, the game runs without problems in the editor. So why is it your cooking tool finds things to complain about that are obviously not a problem otherwise? And why isn’t there information WHAT is causing the errors? THIS IS ABSOLUTELY USELESS, EPIC!
I have been spending two days now working on moving my project bit by bit to a virgin project so that I can figure out from one step to the next which one causes the error which doesn’t mean that I will be able to figure out what causes the error once I have the files identified. This is truly the most frustrating experience in my year or so of working with Unreal, not to mention a waste of my time.
I would STRONGLY suggest that you invest some time fixing the cooking process instead of adding useless optical gimmicks which 95% of us can neither use nor even see unless there is a “before” and “after” picture with a red arrow pointing to the difference.
This is serious and from my research these days in the forum and answerhub I can see that others have the same difficulties with the cooking system.
Just for fun I include the error messages here although I dont expect anybody to be able to guess what “Unknown Cook Error” means, but just so that you see, how useless these “error messages” are
UE4Editor-Cmd: [2016.12.10-10.42.46:063] 0]LogInit:Display:
UE4Editor-Cmd: [2016.12.10-10.42.46:073] 0]LogInit:Display: Warning/Error Summary (Unique only)
UE4Editor-Cmd: [2016.12.10-10.42.46:083] 0]LogInit:Display: -----------------------------------
UE4Editor-Cmd: [2016.12.10-10.42.46:093] 0]LogInit:Display: LogLinker:Warning: Can’t find file ‘/Game/Client/ThirdPersonOverview’
UE4Editor-Cmd: [2016.12.10-10.42.46:103] 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load ‘/Game/Client/ThirdPersonOverview’: Can’t find file ‘/Game/Client/ThirdPersonOverview’
UE4Editor-Cmd: [2016.12.10-10.42.46:113] 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object ‘Class /Game/Client/ThirdPersonOverview.ThirdPersonOverview_C’
UE4Editor-Cmd: [2016.12.10-10.42.46:123] 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object ‘Object /Game/Client/ThirdPersonOverview.ThirdPersonOverview_C’
UE4Editor-Cmd: [2016.12.10-10.42.46:133] 0]LogInit:Display: LogRedirectors:Warning: String Asset Reference ‘/Game/Client/ThirdPersonOverview.ThirdPersonOverview_C’ was not found! (Referencer ‘None’)
UE4Editor-Cmd: [2016.12.10-10.42.46:143] 0]LogInit:Display:
UE4Editor-Cmd: [2016.12.10-10.42.46:153] 0]LogInit:Display: Success - 0 error(s), 9 warning(s)
UE4Editor-Cmd: [2016.12.10-10.42.46:163] 0]LogInit:Display:
UE4Editor-Cmd: Execution of commandlet took: 13.82 seconds
UE4Editor-Cmd: [2016.12.10-10.42.48:103] 0]LogOnline:Display: Unloading online subsystem: NULLWindows GetLastError: The operation completed successfully. (0)
UE4Editor-Cmd: begin: stack for UAT
UE4Editor-Cmd: === Critical error: ===
UE4Editor-Cmd: Fatal error: [File:D:\Build++UE4+Release-4.14+Compile\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp] [Line: 83]
UE4Editor-Cmd: SECURE CRT: Invalid parameter detected.
UE4Editor-Cmd: Expression: Unknown Function: Unknown. File: Unknown Line: 0
UE4Editor-Cmd: end: stack for UAT
CommandUtils.Run: Run: Took 24.169s to run UE4Editor-Cmd.exe, ExitCode=3
Project.Cook: Cook failed. Deleting cooked data.
Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. —> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for C: mp\UnrealProjects\Client\Client.uproject; see log C:\Users\Patric\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+4.14\Cook-2016.12.10-02.42.48.txt
at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String] Maps, String] Dirs, String InternationalizationPreset, String] CulturesToCook, String TargetPlatform, String Parameters)
at Project.Cook(ProjectParams Params)
— End of inner exception stack trace —
at Project.Cook(ProjectParams Params)
at BuildCookRun.DoBuildCookRun(ProjectParams Params)
1 CommandsToExecute, CaselessDictionary1 Commands)
at AutomationTool.Automation.Process(String] Arguments)
at AutomationTool.Program.MainProc(Object Param)
at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)