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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Closed] 4.9.1 Build Failed after update - RunUAT.bat ERROR: AutomationTool was unable to run successfully.

We updated the project to 4.9.1 and I can not build now. Please see the log bellow.


 MainFrameActions: Packaging (Windows (64-bit)): Running AutomationTool...
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: CWD=C:\Program Files\Epic Games\4.9\Engine\Binaries\DotNET
 MainFrameActions: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: BuildCookRun -rocket -nocompile -nocompileeditor -installed -nop4 -project=E:/Creation/Personal/UE4_Projects/SeptGameJamStock/SeptGameJamStock.uproject -cook -stage -archive -archivedirectory=E:/Creation/Personal/SeptGameJam/builds/s_1.0 -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -CrashReporter -utf8output
 MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: IsBuildMachine=False
 MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: ShouldKillProcesses=True
 MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.SetEnvVar: SetEnvVar uebp_EngineSavedFolder=C:/Program Files/Epic Games/4.9/Engine/Programs/AutomationTool/Saved
 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:/Users/oxygencube/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+4.9)
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: Setting .Net Framework environment variables.
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: Supports64bitExecutables=True
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: WindowsPlatform.CompilerVisualStudio2013
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: WindowsSDKDir=C:\Program Files (x86)\Windows Kits\8.1\
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: BaseVSToolPath=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: Setting VS environment variables via C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\..\..\VC\bin\x86_amd64\vcvarsx86_amd64.bat.
 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.SetEnvVar: SetEnvVar FrameworkDir=C:\Windows\Microsoft.NET\Framework\
 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.SetEnvVar: SetEnvVar FrameworkVersion=v4.0.30319
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: FrameworkDir=C:\Windows\Microsoft.NET\Framework\
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: FrameworkVersion=v4.0.30319
 MainFrameActions: Packaging (Windows (64-bit)): ProjectUtils.CleanupFolders: Cleaning up project rules folder
 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:\Windows\TEMP\UAT\C+Program+Files+Epic+Games+4.9\Rules)
 MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: Compiling scripts.
 MainFrameActions: Packaging (Windows (64-bit)): ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading precompiled script DLLs
 MainFrameActions: Packaging (Windows (64-bit)): ScriptCompiler.LoadPreCompiledScriptAssemblies: Found 9 script DLL(s).
 MainFrameActions: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for E:\Creation\Personal\UE4_Projects\SeptGameJamStock\SeptGameJamStock.uproject
 MainFrameActions: Packaging (Windows (64-bit)): BuildCommand.Execute: ERROR: BUILD FAILED
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Exception in AutomationUtils.Automation: Game target not found. Game target is required with -cook or -cookonthefly
 MainFrameActions: Packaging (Windows (64-bit)): Stacktrace:    at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.ProjectParams..ctor(String RawProjectPath, CommandUtils Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList`1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, Nullable`1 StageNonMonolithic, String UE4Exe, String SignPak, List`1 ClientConfigsToBuild, List`1 ServerConfigsToBuild, ParamList`1 MapsToCook, ParamList`1 DirectoriesToCook, String InternationalizationPreset, ParamList`1 CulturesToCook, ParamList`1 ClientCookedTargets, ParamList`1 EditorTargets, ParamList`1 ServerCookedTargets, List`1 ClientTargetPlatforms, Dictionary`2 ClientDependentPlatformMap, List`1 ServerTargetPlatforms, Dictionary`2 ServerDependentPlatformMap, Nullable`1 Build, Nullable`1 Cook, String CookFlavor, Nullable`1 
 MainFrameActions: Packaging (Windows (64-bit)): Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, Nullable`1 UseDebugParamForEditorExe, Nullable`1 IterativeCooking, Nullable`1 CookAll, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 SkipCookingEditorContent, Nullable`1 NumCookersToSpawn, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, Nullable`1 GeneratePatch, String DLCName, Nullable`1 DLCIncludeEngineContent, Nullable`1 NewCook, Nullable`1 OldCook, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 NoXGE, Nullable`1 Package, Nullable`1 Pak, Nullable`1 Prereqs, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 NullRHI, Nullable`1 FakeClient, Nullable`1 EditorTest, Nullable`1 RunAutomationTests, String RunAutomationTest, Nullable`1 CrashIndex, Nullable`1 Rocket, Nullable`1 SkipCook, Nullable`1 SkipCookOnTheFly, Nullable`1 SkipPak, Nullable`1 SkipStage, Nullable`1 Stage, Nullable`1 Manifests, Nullable`1 CreateChunkInstall, Nullable`1 Unattended, Nullable`1 NumClients, Nullable`1 Archive, String ArchiveDirectoryParam, Nullable`1 ArchiveMetaData, Nullable`1 CreateAppBundle, ParamList`1 ProgramTargets, Nullable`1 Distribution, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 CodeSign)
 MainFrameActions: Packaging (Windows (64-bit)):    at BuildCookRun.SetupParams()
 MainFrameActions: Packaging (Windows (64-bit)):    at BuildCookRun.ExecuteBuild()
 MainFrameActions: Packaging (Windows (64-bit)):    at BuildCommand.Execute()
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String[] CommandLine)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
 MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
 MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
 MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files...
 MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
 MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
 PackagingResults:Error: Error Unknown Error
Product Version: UE 4.9
more ▼

asked Sep 25 '15 at 08:08 PM in Packaging & Deployment

avatar image

26 6 13 13

avatar image oxygencube Sep 25 '15 at 08:33 PM

I was able to get past the first issue by following the steps here: https://answers.unrealengine.com/questions/154783/how-to-remove-code-from-project.html

I removed the modules from the project and rebuilt it and the build went a good 10-15 seconds further.. I am now getting a much longer build log:

Log: https://www.dropbox.com/s/heb7i3w5h74e5zq/Cook-2015.09.25-16.23.51?dl=0

Any help would be appreciated.

avatar image FilipeTessaro Oct 02 '15 at 02:03 AM

I´m having the same issue :(

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

The question has been closed Jun 30 '16 at 07:48 PM by Samantha Sutton for the following reason:

Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!

0 answers: sort voted first

Follow this question

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

Answers to this question