Download

packaging failed

Hi guys,

I was doing this Architectural Visualization project and it runs ok in editor, but when I packaged it, it failed. anyone have the solution?

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.01.19-02.19.41:386] 0]LogInitisplay: NOTE: Only first 50 warnings displayed.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.01.19-02.19.41:386] 0]LogInitisplay:
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.01.19-02.19.41:386] 0]LogInitisplay: Failure - 38 error(s), 14249 warning(s)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.01.19-02.19.41:386] 0]LogInitisplay:
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd:
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: Execution of commandlet took: 116.55 seconds
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 132.4885779s to run UE4Editor-Cmd.exe, ExitCode=1
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. —> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for G:\WORKING\unreal_room\apartment\MyProject\MyProject.uproje
MainFrameActions: Packaging (Windows (64-bit)): ct; see log C:\Users\guoguoranran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+4.11\Cook-2016.01.19-10.19.53.txt
MainFrameActions: Packaging (Windows (64-bit)): 在 AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
MainFrameActions: Packaging (Windows (64-bit)): 在 Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): — 内部异常堆栈跟踪的结尾 —
MainFrameActions: Packaging (Windows (64-bit)): 在 Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): 在 BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): 在 AutomationTool.BuildCommand.Execute()
MainFrameActions: Packaging (Windows (64-bit)): 在 AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
MainFrameActions: Packaging (Windows (64-bit)): 在 AutomationTool.Automation.Process(String] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)): 在 AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)): 在 AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)): 在 AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files…
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure

thanks guys

Hi !
It’s saying: see log C:\Users\guoguoranran\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+4.11\Cook-2016.01.19-10.19.53.txt
What’s the content of this file ?

The error it’s complaining about is happens before the part of the log you posted. Try checking for the errors shown before this line in the log.

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.01.19-02.19.41:386] 0]LogInitisplay: Failure - 38 error(s), 14249 warning(s)

Yep, your cooking process fails, ensure to fix all errors that your are getting first. The errors should be in the part of the log that you have not posted.

Thanks guys

I have the same problem last night when I open the VS2015 and Editor at the same time. Try to shut down you VS2015 and only open your Editor, then you can pack the project.