Building from Source fails with "Couldn't find parent type for 'MovieScene2DTransformTrack' named 'UMovieScenePropertyTrack'"

Hey all,

I have been trying to build UE4 “Installed Build” from source over the past week and have found the builds to fail at multiple subtargets of “Build Tools Win64” with the error found at end of the question.

I am building only the Win32, Win64 and Android target platforms with the following command:

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script="./Engine/Build/InstalledEngineBuild.xml" ^
    -set:WithLinux=false ^
    -set:WithIOS=false ^
    -set:WithMac=false ^
    -set:WithLumin=false ^
    -set:WithTVOS=false ^
    -set:WithHTML5=false

I am on Windows 10 with Visual Studio 2017 (15.9.9) and Build Tools 2017 (15.8.9) and this happens with both 4.21.2 and release branch (4.22.0). I can get the Installed Build to run through when removing the UnrealMultiUserServer, CrashReportClient, UnrealWatchdog, UnrealFrontend, UnrealLightmass and BuildPatchTool targets, but I am certain that this can be achieved in a clean way as the Launcher Version has been created successfully this way, too, right?

Any help is greatly appreciated!

Sincerely,
Jonathan.


Error log:

Running: [...]\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe UnrealMultiUserServer Win64 Development -Manifest=[...]\UnrealEngine\Engine\Intermediate\Build\Manifest.xml -nobuilduht -NoHotReload -xgeexport  -NoUBTMakefiles -nobuilduht  -log="[...]\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UBT-UnrealMultiUserServer-Win64-Development.txt"
  Using 'git status' to determine working set for adaptive non-unity build ([...]\UnrealEngine).
  Parsing headers for UnrealMultiUserServer
    Running UnrealHeaderTool UnrealMultiUserServer "[...]\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealMultiUserServer\Development\UnrealMultiUserServer.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors

  Error: Couldn't find parent type for 'MovieScene2DTransformTrack' named 'UMovieScenePropertyTrack' in current module or any other module parsed so far.

Took 7,3334091s to run UnrealBuildTool.exe, ExitCode=5
ERROR: UnrealBuildTool failed. See log for more details. ([...]\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UBT-UnrealMultiUserServer-Win64-Development.txt)
       while executing <Compile Target="ShaderCompileWorker" Configuration="Development" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="UnrealCEFSubProcess" Configuration="Development" Platform="Win32" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="UnrealCEFSubProcess" Configuration="Development" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="UnrealPak" Configuration="Development" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="UnrealMultiUserServer" Configuration="Development" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="LiveCodingConsole" Configuration="Development" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="BootstrapPackagedGame" Configuration="Shipping" Platform="Win32" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="BootstrapPackagedGame" Configuration="Shipping" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="BuildPatchTool" Configuration="Shipping" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       while executing <Compile Target="WebRTCProxy" Configuration="Development" Platform="Win64" AllowXGE="True" AllowParallelExecutor="True" Tag="#Build Tools Win64" />
       at Engine\Build\InstalledEngineBuild.xml(420)
       (see [...]\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
AutomationTool exiting with ExitCode=5 (5)
BUILD FAILED