Download

Error building engine with Automation Tool: BUILD FAILED: failed, retries not enabled:

Hi everyone!
I try to build UE4.23 from source with the Automation Tools and a the InstalledEngineBuild.xml and just can’t get it work.
There are a lot of suggestions to be found on the internet but nothing worked so far.

Plus, the log doesn’t show much about where things go wrong.

My setup is:

  • Windows 10
  • VS2017 (+VS2019) installed.
  • I installed C++ development, Game Development with C++ etc. as packages (as described in the UE4 documentation about setting up Visual Studio)
  • building for consoles (PS4, Xbox One, and Switch) as well.

I actually was able to build the source in VS2019 some time ago, but can’t it it running with Automation Tools to build a version i can share with my teammates.

Attached the individual logs + InstalledEngineBuild.xml as zip file - in case that helps

Here’s what the main log.txt says at the end:
Program.Main: BUILD FAILED: failed, retries not enabled:
Program.Main: UE4BuildException: BUILD FAILED: failed, retries not enabled:
Program.Main: bei AutomationTool.UE4Build.BuildParallelTargets(List1 ParallelTargets, Boolean InShowProgress, String XGETool, Dictionary2 InTargetToManifest) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:Zeile 1163.
Program.Main: bei AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InShowProgress, Nullable1 InChangelistNumberOverride, Dictionary2 InTargetToManifest) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:Zeile 1115. Program.Main: bei AutomationTool.CompileTaskExecutor.Execute(JobContext Job, HashSet1 BuildProducts, Dictionary2 TagNameToFileSet) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\BuildGraph\Tasks\CompileTask.cs:Zeile 166. Program.Main: bei AutomationTool.Node.Build(JobContext Job, Dictionary2 TagNameToFileSet) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\BuildGraph\Node.cs:Zeile 202.
Program.Main: bei AutomationTool.BuildGraph.BuildNode(JobContext Job, Graph Graph, Node Node, TempStorage Storage, Boolean bWithBanner) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:Zeile 698.
Program.Main: bei AutomationTool.BuildGraph.BuildAllNodes(JobContext Job, Graph Graph, TempStorage Storage) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:Zeile 627.
Program.Main: bei AutomationTool.BuildGraph.Execute() in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:Zeile 433.
Program.Main: bei AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:Zeile 551.
Program.Main: bei AutomationTool.Automation.Process(String] Arguments, StartupTraceListener StartupListener) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:Zeile 521.
Program.Main: bei AutomationTool.Program.MainProc(String] Arguments, StartupTraceListener StartupListener) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\Program.cs:Zeile 176.
Program.Main: bei AutomationTool.Program.<>c__DisplayClass1_0.<Main>b__2() in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\Program.cs:Zeile 88.
Program.Main: bei AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:Zeile 725.
Program.Main: bei AutomationTool.Program.Main(String] Arguments) in E:\Sourcecodes\UnrealEngine 4.23\Engine\Source\Programs\AutomationTool\Program.cs:Zeile 88. data: EpicGames.Context = (“while executing <Compile Target=“UE4Game” Configuration=“DebugGame” Platform=“PS4” Arguments=”-precompile -allmodules -nolink -nodebuginfo" AllowXGE=“True” AllowParallelExecutor=“True” Tag="#UE4Game PS4" />", “while executing <Compile Target=“UE4Game” Configuration=“DebugGame” Platform=“PS4” Arguments=”-precompile -nodebuginfo" AllowXGE=“True” AllowParallelExecutor=“True” Clean=“False” Tag="#UE4Game PS4" />", “while executing <Compile Target=“UE4Game” Configuration=“Development” Platform=“PS4” Arguments=”-precompile -allmodules -nolink -nodebuginfo" AllowXGE=“True” AllowParallelExecutor=“True” Tag="#UE4Game PS4" />", “while executing <Compile Target=“UE4Game” Configuration=“Development” Platform=“PS4” Arguments=”-precompile -nodebuginfo" AllowXGE=“True” AllowParallelExecutor=“True” Clean=“False” Tag="#UE4Game PS4" />", “while executing <Compile Target=“UE4Game” Configuration=“Shipping” Platform=“PS4” Arguments=”-precompile -allmodules -nolink -nodebuginfo" AllowXGE=“True” AllowParallelExecutor=“True” Tag="#UE4Game PS4" />", “while executing <Compile Target=“UE4Game” Configuration=“Shipping” Platform=“PS4” Arguments=”-precompile -nodebuginfo" AllowXGE=“True” AllowParallelExecutor=“True” Clean=“False” Tag="#UE4Game PS4" />", “at Engine\Build\InstalledEngineBuild.xml(322)”)
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

Is there anything obvious I’m missing?

Thanks in advance! - If there’s anything else you’d need me to post, please let me know.