Tutorial for packaging & deployment?

Hi,
I’m trying to package (build) my project, but keep getting errors that I don’t understand. I also cannot launch the game through the editor using the Launch button.

Here’s part of my error log for when I try to package the game for windows:

MainFrameActions: Packaging (Windows): UE4Editor-Cmd: Execution of commandlet took:  20.31 seconds
MainFrameActions: Packaging (Windows): CommandUtils.Run: Run: Took 25,6504671s to run UE4Editor-Cmd.exe
MainFrameActions: Packaging (Windows): Project.Cook: Cook failed. Deleting cooked data.
MainFrameActions: Packaging (Windows): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Windows): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Windows): Program.Main: ERROR: Exception in AutomationScripts.Automation: BUILD FAILED: Failed while running Cook for J:\Unreal Engine Projects\NebulaShared\NebulaProject.uproject; see log C:\Users\APOLOIII\AppData\Roaming\Unreal Engine\AutomationTool\Logs\J+Unreal+
MainFrameActions: Packaging (Windows): Engine+4.1\Cook.txt
MainFrameActions: Packaging (Windows): Stacktrace:    at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows):    at BuildCommand.Execute()
MainFrameActions: Packaging (Windows):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Windows):    at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows):    at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows):    at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Windows):    at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows): Program.Main: ERROR: BUILD FAILED: Failed while running Cook for J:\Unreal Engine Projects\NebulaShared\NebulaProject.uproject; see log C:\Users\APOLOIII\AppData\Roaming\Unreal Engine\AutomationTool\Logs\J+Unreal+Engine+4.1\Cook.txt
MainFrameActions: Packaging (Windows): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows): copying UAT log files...
MainFrameActions: Packaging (Windows): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Windows): BUILD FAILED

I’m running the Editor as administrator, just in case.

I’m looking for information on how to deploy the project correctly.

I installed an older version 4.0.2 and I can cook and package fine. There might be a bug in the latest version 4.1.1?

After installing the 4.2 version, I was able to launch the game.

However, it only works on the editor. When I try to cook the project for windows, it still gives me a “cook failed” message. I really desperately need help. I already tried installing the VS Express 2013 but that made no difference.

Is there a bug also un 4.4 ???.By exporting thr package I only have the template in my exe. Even Idelete the content in the browser.

Hi all,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.