Automation Tool crashes on clean Release 4.19 at Build Tools Win64

Attempting to build an installed build of a project, I was unable to do so - tried about 50 or so variants… eventually just downloaded the clean release build from git, ran Setup.bat, then tried the following command:

 .\RunUAT.bat BuildGraph -target=”Make Installed Build Win64” -script="Engine/Build/InstalledEngineBu
ild.xml" -set:WithMac=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinux=false -set:WithHTML5=false -set:WithWin32=false -se
t:WithSwitch=false -set:WithPS4=false -set:WithDDC=false -set:HostPlatformOnly=true -set:SignExecutables=false

…only to get the exact same crash!

ERROR: BUILD FAILED:  failed, retries not enabled:
       while executing <Compile Target="CrashReportClient" Configuration="Shipping" Platform="Win32" AllowParallelExecutor="True" Tag="#Build Tools Win64" /
>
       while executing <Compile Target="UnrealWatchdog" Configuration="Shipping" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="ShaderCompileWorker" Configuration="Development" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win
64" />
       while executing <Compile Target="UnrealCEFSubProcess" Configuration="Development" Platform="Win32" AllowParallelExecutor="True" Tag="#Build Tools Win
64" />
       while executing <Compile Target="UnrealCEFSubProcess" Configuration="Development" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win
64" />
       while executing <Compile Target="UnrealFrontend" Configuration="Development" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win64" /
>
       while executing <Compile Target="UnrealLightmass" Configuration="Development" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win64"
/>
       while executing <Compile Target="UnrealPak" Configuration="Development" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="BootstrapPackagedGame" Configuration="Shipping" Platform="Win32" AllowParallelExecutor="True" Tag="#Build Tools Win6
4" />
       while executing <Compile Target="BootstrapPackagedGame" Configuration="Shipping" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win6
4" />
       while executing <Compile Target="BuildPatchTool" Configuration="Shipping" Platform="Win64" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       at Engine\Build\InstalledEngineBuild.xml(422)
       (see Y:\****\Release\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)

The log files state:

ExceptionUtils.PrintExceptionInfo: AutomationException: BUILD FAILED:  failed, retries not enabled:
ExceptionUtils.PrintExceptionInfo:    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, Dictionary`2 InTargetToManifest) in Y:\\ReleaseClean\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1482
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.CompileTaskExecutor.Execute(JobContext Job, HashSet`1 BuildProducts, Dictionary`2 TagNameToFileSet) in Y:\\ReleaseClean\Engine\Source\Programs\AutomationTool\BuildGraph\Tasks\CompileTask.cs:line 154
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Node.Build(JobContext Job, Dictionary`2 TagNameToFileSet) in Y:\\ReleaseClean\Engine\Source\Programs\AutomationTool\BuildGraph\Node.cs:line 197
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.BuildGraph.BuildNode(JobContext Job, Graph Graph, Node Node, TempStorage Storage, Boolean bWithBanner) in Y:\\ReleaseClean\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 686
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.BuildGraph.BuildAllNodes(JobContext Job, Graph Graph, TempStorage Storage) in Y:\\ReleaseClean\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 615
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.BuildGraph.Execute() in Y:\\ReleaseClean\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 422
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in Y:\ReleaseClean\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 557
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Automation.Process(String[] Arguments) in Y:\ReleaseClean\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 527
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Program.MainProc(Object Param) in Y:\ReleaseClean\Engine\Source\Programs\AutomationTool\Program.cs:line 132
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in Y:\ReleaseClean\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 712
ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Program.Main() in Y:\ReleaseClean\Engine\Source\Programs\AutomationTool\Program.cs:line 62
ExceptionUtils.PrintExceptionInfo:    data: EpicGames.Context = System.Collections.Generic.List`1[System.String]
ExceptionUtils.PrintExceptionInfo: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

Can anyone help me out? Project seems to build fine through VS, but I really want to do away with the need for the team to build source on each machine.

Thanks!

Rolled back VS 2017 to 15.5.7 (here Visual Studio 2017 Release History | Microsoft Docs) and this now seems to maybe be working… it’s continuing past where it previously crashed, anyways! I hope this helps people - Unreal Engine Issues and Bug Tracker (UE-59150) I believe it’s connected to this issue.

Conrad

Antimatter Games