Im having problem when i am trying to package my game please help!

here is the error code that i am getting when i am trying to package my game

Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Cooking (Windows): Program.Main: ERROR: Exception in AutomationScripts.Automation: Cook failed.
MainFrameActions: Cooking (Windows): Stacktrace: at Project.Cook(ProjectParams Params)
MainFrameActions: Cooking (Windows): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Cooking (Windows): at BuildCommand.Execute()
MainFrameActions: Cooking (Windows): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
MainFrameActions: Cooking (Windows): at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Cooking (Windows): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Cooking (Windows): at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
MainFrameActions: Cooking (Windows): at AutomationTool.Program.Main()InnerException in AutomationUtils.Automation: BUILD FAILED: Failed while running Cook for C:\Users\gaming\Documents\Unreal Projects\ProjectIron\ProjectIron.uproject; see log C:\Users\gaming\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+4.9\Cook-2016.06.30-17.14.25.txt
MainFrameActions: Cooking (Windows): Stacktrace: at AutomationTool.CommandUtils.RunCommandlet(String ProjectName, String UE4Exe, String Commandlet, String Parameters)
MainFrameActions: Cooking (Windows): at Project.Cook(ProjectParams Param
MainFrameActions: Cooking (Windows): s)
MainFrameActions: Cooking (Windows): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Cooking (Windows): Program.Main: AutomationTool exiting with ExitCode=Error_UnknownCookFailure
MainFrameActions: Cooking (Windows): Domain_ProcessExit
MainFrameActions: Cooking (Windows): copying UAT log files…
MainFrameActions: Cooking (Windows): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Cooking (Windows): BUILD FAILED

Read your log located here: C:\Users\gaming\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+4.9\Cook-2016.06.30-17.14.25.txt

That should have a more descriptive reason on why your packaging / cooking failed.

you might try to just recompile the automation tool. Make sure when you’re packaging your game, you’re not running a debug instance of your game.

RaptorWithAShotgun,

Please upload your log if you’re not sure how to read it. You should be able to find a back up of your log here: C:\Users\gaming\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+4.9\Cook-2016.06.30-17.14.25.txt

Thanks!

Hey RaptorWithAShotgun,

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!

I have same problem when packaging game but maybe staff won’t know answer or want help