x

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"

Problem Packaging Game

I built the engine 4.7.2 from scratch (from GitHub). I am now trying to package my game. In Visual Studios I am building the game with the "Development Editor" solution configuration (straight "Development" had compiler errors). I am trying to package the game for Window 32 bit with "Full Rebuild", "For Distribution" and "Include Prerequisites" all enabled. This is error I get when the build fails.

 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\jeffd_000\Documents\Unreal Projects\TheArena\Binaries\Win32\TheArena-Win32-Shipping.exe
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Cumulative action seconds (8 processors): 0.00 building projects, 1727.81 compiling, 0.00 creating app bundles, 0.00 generating debug info, 1.33 linking, 0.00 other
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: UBT execution time: 473.01 seconds
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 473.1379962s to run UnrealBuildTool.exe, ExitCode=2
 MainFrameActions: Packaging (Windows (32-bit)): ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:2): C:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe TheArena Win32 Shipping  "C:\Users\jeffd_000\Documents\Unreal Projects\TheArena\TheAren
 MainFrameActions: Packaging (Windows (32-bit)): a.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): C:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe TheArena Win32 Shipping  "C:\Users\jeffd_000\Documents\Unreal Projects\TheArena\TheAren
 MainFrameActions: Packaging (Windows (32-bit)): a.uproject"  -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 c:\Users\jeffd_000\Documents\GitHub\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 c:\Users\jeffd_000\Documents\GitHub\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 c:\Users\jeffd_000\Documents\GitHub\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 c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\UE4Build.cs:line 1327
 MainFrameActions: Packaging (Windows (32-bit)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL) in c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 114
 MainFrameActions: Packaging (Windows (32-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 251
 MainFrameActions: Packaging (Windows (32-bit)):    at BuildCommand.Execute() in c:\Users\jeffd_000\Documents\GitHub\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 c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 380
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Process(String[] CommandLine) in c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 352
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Program.MainProc(Object Param) in c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 168
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) in c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\Utils.cs:line 705
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Program.Main() in c:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 115
 MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: Command failed (Result:2): C:\Users\jeffd_000\Documents\GitHub\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe TheArena Win32 Shipping  "C:\Users\jeffd_000\Documents\Unreal Projects\TheArena\TheArena.uproject"  -noxge -NoHotRel
 MainFrameActions: Packaging (Windows (32-bit)): oadFromIDE. 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
Tags:
more ▼

asked Mar 20 '15 at 05:28 AM in Using UE4

avatar image

Janyx
472 66 63 211

avatar image S0rn0 Apr 06 '15 at 04:00 PM

Did you ever solve this problem? I am having the same issue. (In 4.7.4)

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

1 answer: sort voted first

This is ancient but in case anyone comes across this. I found that I needed to build the project for 64 bit.

more ▼

answered Apr 03 '17 at 10:33 PM

avatar image

Janyx
472 66 63 211

(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