WindowsClient build error

Hi, why when I build my project for WindowsClient with UnrealFrontend, I get this AutomationTool error?

Running AutomationTool...

Program.Main: Running on WindowsHostPlatform

Program.Main: Executed from AutomationToolLauncher (C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\95786e4d\85bde63c_59c8cf01\AutomationTool.exe)

Program.Main: CWD=C:\Program Files\UnrealEngine\Engine\Binaries\DotNET

Automation.ParseCommandLine: Parsing command line: BuildCookRun -project=C:/Users/John/Documents/Unreal Projects/UltimateArena/UltimateArena.uproject -noP4 -platform=WindowsClient -clientconfig=Development -serverconfig=Development -nocompile -build -skipcook -NoCompile

Automation.Process: IsBuildMachine=False

Automation.Process: ShouldKillProcesses=True

Automation.Process: Setting up command environment.

InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationTool.EXE=True

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT=

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT=C:/Program Files/UnrealEngine

CommandUtils.SetEnvVar: SetEnvVar uebp_EngineSavedFolder=C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LogFolder=

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_EngineSavedFolder=C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved

CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved/Logs)

InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Program Files\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt

InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationTool.EXE=True

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT=C:/Program Files/UnrealEngine

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_EngineSavedFolder=C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_EngineSavedFolder=C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LogFolder=C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved/Logs

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable FrameworkDir=

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable FrameworkVersion=

WindowsHostPlatform.SetFrameworkVars: Setting .Net Framework environment variables.

WindowsHostPlatform.SetFrameworkVars: Supports64bitExecutables=True

WindowsHostPlatform.SetFrameworkVars: WindowsPlatform.CompilerVisualStudio2013

WindowsHostPlatform.SetFrameworkVars: WindowsSDKDir=C:\Program Files (x86)\Windows Kits\8.1\

WindowsHostPlatform.SetFrameworkVars: BaseVSToolPath=C:\Program Files (x86)\Microsoft Visual  12.0\Common7\Tools

WindowsHostPlatform.SetFrameworkVars: Setting VS environment variables via C:\Program Files (x86)\Microsoft Visual  12.0\Common7\Tools\..\..\VC\bin\x86_amd64\vcvarsx86_amd64.bat.

InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\John\AppData\Local\Temp\HarvestEnvVars.txt

InternalUtils.SafeFileExists: SafeFileExists C:\Users\John\AppData\Local\Temp\HarvestEnvVars.bat=True

CommandUtils.Run: Run: C:\Users\John\AppData\Local\Temp\HarvestEnvVars.bat 

HarvestEnvVars: 

HarvestEnvVars: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET>call "C:\Program Files (x86)\Microsoft Visual  12.0\Common7\Tools\..\..\VC\bin\x86_amd64\vcvarsx86_amd64.bat" 

HarvestEnvVars: 

HarvestEnvVars: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET>set  1>"C:\Users\John\AppData\Local\Temp\HarvestEnvVars.txt" 

CommandUtils.Run: Run: Took 0.3002508s to run HarvestEnvVars.bat

CommandUtils.SetEnvVar: SetEnvVar FrameworkDir=C:\Windows\Microsoft.NET\Framework\

CommandUtils.SetEnvVar: SetEnvVar FrameworkVersion=v4.0.30319

WindowsHostPlatform.SetFrameworkVars: FrameworkDir=C:\Windows\Microsoft.NET\Framework\

WindowsHostPlatform.SetFrameworkVars: FrameworkVersion=v4.0.30319

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable FrameworkDir=C:\Windows\Microsoft.NET\Framework\

InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable FrameworkVersion=v4.0.30319

InternalUtils.SafeFileExists: SafeFileExists C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe=True

CommandEnvironment.SetupBuildEnvironment: C:\Program Files (x86)\Microsoft Visual  12.0\Common7\Tools\..\IDE\Devenv.com does not exist.

CommandEnvironment.SetupBuildEnvironment: Assuming no solution compilation capability.

CommandEnvironment.SetupBuildEnvironment: CompilationEvironment.HasCapabilityToCompile=True

CommandEnvironment.SetupBuildEnvironment: CompilationEvironment.MsBuildExe=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

CommandEnvironment.SetupBuildEnvironment: CompilationEvironment.MsDevExe=

CommandEnvironment.LogSettings: Command Environment settings:

CommandEnvironment.LogSettings: CmdExe=C:\Windows\system32\cmd.exe

CommandEnvironment.LogSettings: EngineSavedFolder=C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved

CommandEnvironment.LogSettings: HasCapabilityToCompile=True

CommandEnvironment.LogSettings: LocalRoot=C:/Program Files/UnrealEngine

CommandEnvironment.LogSettings: LogFolder=C:/Program Files/UnrealEngine/Engine/Programs/AutomationTool/Saved/Logs

CommandEnvironment.LogSettings: MountExe=C:\Windows\system32\mount.exe

CommandEnvironment.LogSettings: MsBuildExe=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

CommandEnvironment.LogSettings: MsDevExe=

CommandEnvironment.LogSettings: RobocopyExe=C:\Windows\system32\robocopy.exe

CommandEnvironment.LogSettings: TimestampAsString=2014-09-04_19.03.56

CommandEnvironment.LogSettings: UATExe=C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationTool.EXE

ProjectUtils.CleanupFolders: Cleaning up project rules folder

Automation.Process: Compiling scripts.

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading precompiled script DLLs

ScriptCompiler.LoadPreCompiledScriptAssemblies: Found 7 script DLL(s).

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll

ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading script DLL: C:\Program Files\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll

Platform.CreatePlatformsFromAssembly: Looking for platforms in C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\e91c38f2\018c6e3f_59c8cf01\AutomationScripts.Automation.dll

Platform.CreatePlatformsFromAssembly: Looking for platforms in C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\94cbf04f\b1492843_59c8cf01\Win.Automation.dll

Platform.CreatePlatformsFromAssembly: Creating platform Win64Platform from C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\94cbf04f\b1492843_59c8cf01\Win.Automation.dll.

Platform.CreatePlatformsFromAssembly: Creating platform Win32Platform from C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\94cbf04f\b1492843_59c8cf01\Win.Automation.dll.

Platform.CreatePlatformsFromAssembly: Looking for platforms in C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\f8c36b93\eb0e2740_59c8cf01\Android.Automation.dll

Platform.CreatePlatformsFromAssembly: Creating platform AndroidPlatform from C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\f8c36b93\eb0e2740_59c8cf01\Android.Automation.dll.

Platform.CreatePlatformsFromAssembly: Looking for platforms in C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\b068d221\5b13b840_59c8cf01\HTML5.Automation.dll

Platform.CreatePlatformsFromAssembly: Creating platform HTML5Platform from C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\b068d221\5b13b840_59c8cf01\HTML5.Automation.dll.

Platform.CreatePlatformsFromAssembly: Looking for platforms in C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\90117f74\735b9041_59c8cf01\IOS.Automation.dll

Platform.CreatePlatformsFromAssembly: Creating platform IOSPlatform from C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\90117f74\735b9041_59c8cf01\IOS.Automation.dll.

Platform.CreatePlatformsFromAssembly: Looking for platforms in C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\c26ab474\6df11842_59c8cf01\Linux.Automation.dll

Platform.CreatePlatformsFromAssembly: Creating platform CentOSx64Platform from C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\c26ab474\6df11842_59c8cf01\Linux.Automation.dll.

Platform.CreatePlatformsFromAssembly: Looking for platforms in C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\2319266f\daa79d42_59c8cf01\Mac.Automation.dll

Platform.CreatePlatformsFromAssembly: Creating platform MacPlatform from C:\Users\John\AppData\Local\assembly\dl3\2VHZLXMZ.1AE\6NO86CK5.N87\2319266f\daa79d42_59c8cf01\Mac.Automation.dll.

Platform.InitializePlatforms: Creating placeholder platform for target: Unknown

Platform.InitializePlatforms: Creating placeholder platform for target: XboxOne

Platform.InitializePlatforms: Creating placeholder platform for target: PS4

Platform.InitializePlatforms: Creating placeholder platform for target: WinRT

Platform.InitializePlatforms: Creating placeholder platform for target: WinRT_ARM

CommandUtils.InitP4Support: Initializing AllowSubmit.

CommandUtils.InitP4Support: AllowSubmit=False

CommandUtils.InitP4Support: Initializing P4Enabled.

CommandUtils.InitP4Support: P4Enabled=False

CommandUtils.InitP4Support: P4CLRequired=False

InternalUtils.SafeFileExists: SafeFileExists C:\Users\John\Documents\Unreal Projects\UltimateArena\UltimateArena.uproject=True

InternalUtils.SafeFileExists: SafeFileExists C:\Users\John\Documents\Unreal Projects\UltimateArena\UltimateArena.uproject=True

InternalUtils.SafeFileExists: SafeFileExists C:\Users\John\Documents\Unreal Projects\UltimateArena\UltimateArena.uproject=True

BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\John\Documents\Unreal Projects\UltimateArena\UltimateArena.uproject

BuildCommand.Execute: ERROR: BUILD FAILED

Program.Main: ERROR: AutomationTool terminated with exception:

Program.Main: ERROR: Exception in mscorlib: Requested value 'WindowsClient' was not found.

Stacktrace:    at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)

   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)

   at AutomationTool.ProjectParams.SetupTargetPlatforms(CommandUtils Command, List`1 OverrideTargetPlatforms, List`1 DefaultTargetPlatforms, Boolean AllowPlatformParams, String[] PlatformParamNames) in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\ProjectParams.cs:line 144

   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, String UE4Exe, String SignPak, List`1 ClientConfigsToBuild, List`1 ServerConfigsToBuild, ParamList`1 MapsToCook, ParamList`1 DirectoriesToCook, ParamList`1 ClientCookedTargets, ParamList`1 EditorTargets, ParamList`1 ServerCookedTargets, List`1 ClientTargetPlatforms, List`1 ServerTargetPlatforms, 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 CookOnTheFly, 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 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 Unattended, Nullable`1 NumClients, Nullable`1 Archive, String ArchiveDirectoryParam, ParamList`1 ProgramTargets, Nullable`1 Distribution, Nullable`1 OBBinAPK, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds) in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\ProjectParams.cs:line 366

   at BuildCookRun.SetupParams() in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 50

   at BuildCookRun.ExecuteBuild() in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 39

   at BuildCommand.Execute() in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\BuildCommand.cs:line 37

   at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 367

   at AutomationTool.Automation.Process(String[] CommandLine) in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:line 335

   at AutomationTool.Program.MainProc(Object Param) in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 160

   at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\Utils.cs:line 631

   at AutomationTool.Program.Main() in c:\Program Files\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 107

Program.Main: ERROR: Requested value 'WindowsClient' was not found.

ProcessManager.KillAll: Trying to kill 0 spawned processes.

Program.Main: AutomationTool exiting with ExitCode=1

Domain_ProcessExit

ProcessManager.KillAll: Trying to kill 0 spawned processes.

AutomationToolLauncher exiting with ExitCode=1

copying UAT log files...

RunUAT.bat ERROR: AutomationTool was unable to run successfully.

BUILD FAILED

http://puu.sh/blpo1/2d2129c15a.png

Hi ,

Have you been able to reproduce this in a clean project with no additional content or is it limited to one project? What version of the editor are you using with this project (for consistency)? Thank you!

I tried with ShooterGame too, and the problem is still there.

Which version of the editor are you on?

Unreal Engine 4.4.1 (GitHub source). I tried with the pre-compiled version of the Engine (downloaded via the Launcher), but the problem is still there.

I’m also hitting this error on the binary 4.5.1 release.

You did not specify a Build Target for Windows Client. Try WindowsNoEditor, that should work fine as a Client, but runs the Server/Dedicated Server too. However i am using this with an additional Dedicated Server and it works just fine.

To Create a WindowsClient you should read The Documentation

how to specify a Build Target for Windows Client ?

I have the same problem.
Did you found a solution ?