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"

[Closed] RunUAT.bat ERROR: AutomationTool was unable to run successfully.

Hello people, i'm trying to package my Unreal Project, but i am unable to due to these errors -

Program.Main: ERROR: Command failed (Result:2): C:\Program Files\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe Test Win32 Shipping -clean "C:\Users\gh171846\Documents\Unreal Projects\Test\Test.uproject" -nobuilduht -rocket -NoHotReloadFromIDE. See logfile for details: 'UnrealBuildTool.txt'

I'm wondering if it could be because of that it can't find the files needed because my system language is in danish, so "Program Files" is called "Programmer"

Does anyone know a fix for this?

Product Version: Not Selected
Tags:
more ▼

asked Apr 27 '15 at 08:54 AM in Packaging & Deployment

avatar image

Guggu3d
1 1 3 3

avatar image wittlief ♦♦ STAFF Apr 27 '15 at 09:05 PM

Hi Guggu3d,

Can you attach the entirety of your failed build output log to this thread as a txt file? System lang stuff usually only comes into play if the characters are non-Latin, so I'm inclined to say that's not the cause.

Just guessing without seeing the rest of your log, might you be missing some redist libraries from C++? Here for instance is a Stack Overflow thread that explains how to find what (if anything) you're missing. We'll be able to tell more, hopefully, with the full logs.

Thanks!

avatar image Guggu3d Apr 28 '15 at 06:24 AM
dokument.txt (44.8 kB)
avatar image The Cheese Dragon Aug 12 '15 at 02:33 AM

I'm having this problem too

avatar image The Cheese Dragon Aug 12 '15 at 02:34 AM

MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data. MainFrameActions: Packaging (Windows (64-bit)): ErrorReporter.Error: ERROR: AutomationTool error: Cook failed. 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 AutomationScripts.Automation: BUILD FAILED: Failed while running Cook for C:\Users\Jazz.Laurie-PC\Documents\Unreal Projects\DragonGame 4.8\DragonGame.uproject; see log C:\Users\Jazz.Laurie-PC\AppData\Roaming\Unreal Engine\ MainFrameActions: Packaging (Windows (64-bit)): AutomationTool\Logs\C+Program+Files+Unreal+Engine+4.8\Cook.txt MainFrameActions: Packaging (Windows (64-bit)): Stacktrace: at Project.Cook(ProjectParams Params) MainFrameActions: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Windows (64-bit)): at BuildCommand.Execute() MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)

avatar image The Cheese Dragon Aug 12 '15 at 02:35 AM

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(MainProc Main, Object Param) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.Main() MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: BUILD FAILED: Failed while running Cook for C:\Users\Jazz.Laurie-PC\Documents\Unreal Projects\DragonGame 4.8\DragonGame.uproject; see log C:\Users\Jazz.Laurie-PC\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Unreal+ MainFrameActions: Packaging (Windows (64-bit)): Engine+4.8\Cook.txt MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes. MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes. 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

avatar image kleyten Feb 04 '16 at 07:13 AM

any fix? got the same problem..

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

The question has been closed Aug 02 '16 at 02:59 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!


1 answer: sort voted first

i have the same problem, any fix please?

 MainFrameActions: Packaging (Windows (64-bit)): Running AutomationTool...
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: CWD=C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\DotNET
 MainFrameActions: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: BuildCookRun -rocket -nocompile -nocompileeditor -installed -nop4 -project=C:/Users/Omran/Documents/Unreal Projects/MyGame/MyGame.uproject -cook -stage -archive -archivedirectory=C:/Users/Omran/Desktop/New folder (2) -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -clean -CookAll -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -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 (x86)/Epic Games/4.10/Engine/Programs/AutomationTool/Saved
 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:/Users/Omran/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+(x86)+Epic+Games+4.10)
 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.CompilerVisualStudio2015
 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 14.0\Common7\Tools
 MainFrameActions: Packaging (Windows (64-bit)): WindowsHostPlatform.SetFrameworkVars: Setting VS environment variables via C:\Program Files (x86)\Microsoft Visual Studio 14.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:\Users\Omran\AppData\Local\Temp\UAT\C+Program+Files+(x86)+Epic+Games+4.10\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 C:\Users\Omran\Documents\Unreal Projects\MyGame\MyGame.uproject
 MainFrameActions: Packaging (Windows (64-bit)): ProjectUtils.CompileAndLoadTargetsAssembly: Compiling targets DLL: C:\Users\Omran\AppData\Local\Temp\UAT\C+Program+Files+(x86)+Epic+Games+4.10\Rules\UATRules-607113275.dll
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: Errors detected while compiling C:\Users\Omran\AppData\Local\Temp\UAT\C+Program+Files+(x86)+Epic+Games+4.10\Rules\UATRules-607113275.dll:
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(6,14) : error CS1001: Identifier expected
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(6,14) : error CS1513: } expected
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(8,12) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(17,18) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(31,18) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(38,18) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(40,26) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\1MyGame.Target.cs(44,5) : error CS1022: Type or namespace definition, or end-of-file expected
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(6,14) : error CS1001: Identifier expected
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(6,14) : error CS1513: } expected
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(8,12) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(17,18) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(31,18) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(38,18) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(40,26) : error CS1518: Expected class, delegate, enum, interface, or struct
 MainFrameActions: Packaging (Windows (64-bit)): DynamicCompilation.CompileAssembly: c:\Users\Omran\Documents\Unreal Projects\MyGame\Intermediate\Source\2MyGame.Target.cs(44,5) : error CS1022: Type or namespace definition, or end-of-file expected
 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 UnrealBuildTool: ERROR: UnrealBuildTool encountered an error while compiling source files
 MainFrameActions: Packaging (Windows (64-bit)): Stacktrace:    at UnrealBuildTool.DynamicCompilation.CompileAssembly(String OutputAssemblyPath, List`1 SourceFileNames, List`1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean TreatWarningsAsErrors)
 MainFrameActions: Packaging (Windows (64-bit)):    at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(String OutputAssemblyPath, List`1 SourceFileNames, List`1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean DoNotCompile, Boolean TreatWarningsAsErrors)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.ProjectUtils.CompileAndLoadTargetsAssembly(ProjectProperties Properties, String TargetsDllFilename, Boolean DoNotCompile, List`1 TargetScripts)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.ProjectUtils.DetectTargetsForProject(ProjectProperties Properties, List`1 ExtraSearchPaths)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.ProjectUtils.DetectProjectProperties(String RawProjectPath, List`1 ClientTargetPlatforms)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.ProjectUtils.GetProjectProperties(String RawProjectPath, List`1 ClientTargetPlatforms)
 MainFrameActions: Packaging (Windows (64-bit)):    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 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, String Provision, String Certificate)
 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
more ▼

answered Mar 06 '16 at 08:48 PM

avatar image

OmranAlmansoori
1 1

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

Follow this question

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

Answers to this question