Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Build failed - Command failed

I am completely stumped on why my build is failing, I am really hoping someone will be able to help me out with this! I have downloaded the 4.7.4 source from github and compiled. I have been working on a project for a bit and decided to try out packaging. The following is the tail end of the log (I get this error with trying to package win32 or win64)

 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: [182/184] Link Game-OculusRift-Win32-Shipping-Static.lib
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: [183/184] Link Game-WindowsMoviePlayer-Win32-Shipping-Static.lib
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Users\***\Documents\MEGA\***\Binaries\Win32\Game-Win32-Shipping.exe
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Cumulative action seconds (8 processors): 0.00 building projects, 1564.48 compiling, 0.00 creating app bundles, 0.00 generating debug info, 1.23 linking, 0.00 other
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: UBT execution time: 435.67 seconds
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 435.839632s to run UnrealBuildTool.exe, ExitCode=2
 MainFrameActions: Packaging (Windows (32-bit)): ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:2): D:\Users\***\Documents\MEGA\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe Game Win32 Shipping  D:\Users\***\Documents\MEGA\Game\Game.uproject  -noxge -NoHotReloadFromIDE. See logfile for details: 'UnrealBuildTool.txt' 
 MainFrameActions: Packaging (Windows (32-bit)): BuildCommand.Execute: ERROR: BUILD FAILED
 MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:2): D:\Users\***\Documents\MEGA\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe Game Win32 Shipping  D:\Users\***\Documents\MEGA\Game\Game.uproject  -
 MainFrameActions: Packaging (Windows (32-bit)): noxge -NoHotReloadFromIDE. See logfile for details: 'UnrealBuildTool.txt' 
 MainFrameActions: Packaging (Windows (32-bit)): Stacktrace:    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\ProcessUtils.cs:line 795
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\UBTUtils.cs:line 35
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\UE4Build.cs:line 344
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary`2 PlatformEnvVars) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\UE4Build.cs:line 1327
 MainFrameActions: Packaging (Windows (32-bit)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 114
 MainFrameActions: Packaging (Windows (32-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 251
 MainFrameActions: Packaging (Windows (32-bit)):    at BuildCommand.Execute() in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\BuildCommand.cs:line 37
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 380
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Process(String[] CommandLine) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 352
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Program.MainProc(Object Param) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 168
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\Utils.cs:line 705
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Program.Main() in d:\Users\***\Documents\MEGA\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 115
 MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: Command failed (Result:2): D:\Users\***\Documents\MEGA\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe Game Win32 Shipping  D:\Users\***\Documents\MEGA\Game\Game.uproject  -noxge -NoHotReloadFromIDE. See logfile for details: 'UnrealBuildTool.txt' 
 MainFrameActions: Packaging (Windows (32-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
 MainFrameActions: Packaging (Windows (32-bit)): Program.Main: AutomationTool exiting with ExitCode=2
 MainFrameActions: Packaging (Windows (32-bit)): Domain_ProcessExit
 MainFrameActions: Packaging (Windows (32-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
 MainFrameActions: Packaging (Windows (32-bit)): AutomationToolLauncher exiting with ExitCode=2
 MainFrameActions: Packaging (Windows (32-bit)): copying UAT log files...
 MainFrameActions: Packaging (Windows (32-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
 MainFrameActions: Packaging (Windows (32-bit)): BUILD FAILED
Product Version: Not Selected
more ▼

asked Apr 06 '15 at 04:24 AM in Packaging & Deployment

avatar image

71 8 13 12

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey S0rn0,

Thank you for taking the time to report this issue, and we appreciate your patience while awaiting a response. In order to assist you in an effective manner and to increase our support within this section of the AnswerHub, we would like to see if you are still experiencing the issue you are reporting in engine versions 4.8.3 and/or 4.9.2?

If so, would you mind providing some simple steps, screenshots, or any other relevant pieces of information to help us reproduce the issue on our end?

If you are experiencing a crash or a major bug, we ask that you take a look at our 'How to Report a Bug' sticky post on our Forums. It will give you all the correct instructions on how to make an official bug report on the AnswerHub, including the information needed in order to move forward with the reporting/troubleshooting process.

Please do not hesitate to ask questions or post any new comments in regards to the issue.


Andrew Hurley

more ▼

answered Oct 11 '15 at 04:23 PM

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question