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"

Can't build project ExitCode=5

 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Matias\Documents\Unreal Projects\TestingProject\Binaries\Win32\TestingProject-Win32-Shipping.exe
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Total build time: 14,52 seconds (Local executor: 0,00 seconds)
 UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 14,8028009s to run UnrealBuildTool.exe, ExitCode=5
 UATHelper: Packaging (Windows (32-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe TestingProject Win32 Shipping -Project="C:\Users\Matias\Documents\Unreal Projects\TestingProject\T
 estingProject.uproject"  "C:\Users\Matias\Documents\Unreal Projects\TestingProject\TestingProject.uproject" -NoUBTMakefiles  -remoteini="C:\Users\Matias\Documents\Unreal Projects\TestingProject" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.08.21-23.22.48.txt' 
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictio
 nary`2 InTargetToManifest)
 UATHelper: Packaging (Windows (32-bit)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
 UATHelper: Packaging (Windows (32-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
 UATHelper: Packaging (Windows (32-bit)):    at BuildCookRun.ExecuteBuild()
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.BuildCommand.Execute()
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Process(String[] Arguments)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Program.MainProc(Object Param)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Program.Main()
 UATHelper: Packaging (Windows (32-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
 UATHelper: Packaging (Windows (32-bit)): BUILD FAILED
 PackagingResults: Error: Unknown Error

Product Version: UE 4.17
Tags:
more ▼

asked Aug 22 '17 at 02:29 AM in Packaging & Deployment

avatar image

RainbowCookie32
29 7 12 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Since this is an UBT error, can you make sure to delete your Binaries/ Saved/ Intermediate Folder, relaunch and package again?

more ▼

answered Aug 22 '17 at 05:37 AM

avatar image

Ninjin
4.2k 88 38 152

avatar image RainbowCookie32 Sep 04 '17 at 11:05 PM

Sorry for the delay! The problem seems to have vanished... Weird!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I had the same ExitCode=5 error code and this fixed my problem. Big Thank You !

more ▼

answered Sep 08 '17 at 05:06 PM

avatar image

LostMyEd
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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