Hi all, hoping someone might be able to help me with this. I’m trying to build the Unreal Engine source for a personal project (dedicated server, apparently UE source is required for that).
I cloned the repo, and then locally have checked out the tag for 5.4.4, no amendments…
I’ve followed the ReadMe.md, but I keep getting this error;
12>F:\Software\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.
The log from the build in Visual Studio is attached.
Anyone run into this/have any ideas?
Thanks in advance for your help/time
Build started at 10:36...
1>------ Build started: Project: EpicGames.UBA, Configuration: Development Any CPU ------
2>------ Build started: Project: EpicGames.Oodle, Configuration: Development Any CPU ------
3>------ Build started: Project: EpicGames.OIDC, Configuration: Development Any CPU ------
4>------ Build started: Project: EpicGames.Core, Configuration: Development Any CPU ------
2>EpicGames.Oodle -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Oodle\bin\Development\net6.0\EpicGames.Oodle.dll
3>EpicGames.OIDC -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.OIDC\bin\Development\net6.0\EpicGames.OIDC.dll
1>EpicGames.UBA -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.UBA\bin\Development\net6.0\EpicGames.UBA.dll
4>EpicGames.Core -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Core\bin\Development\net6.0\EpicGames.Core.dll
5>------ Build started: Project: EpicGames.MsBuild, Configuration: Development Any CPU ------
6>------ Build started: Project: EpicGames.IoHash, Configuration: Development Any CPU ------
6>EpicGames.IoHash -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.IoHash\bin\Development\net6.0\EpicGames.IoHash.dll
7>------ Build started: Project: EpicGames.Serialization, Configuration: Development Any CPU ------
7>EpicGames.Serialization -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Serialization\bin\Development\net6.0\EpicGames.Serialization.dll
8>------ Build started: Project: EpicGames.Horde, Configuration: Development Any CPU ------
5>EpicGames.MsBuild -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.MsBuild\bin\Development\net6.0\EpicGames.MsBuild.dll
9>------ Build started: Project: EpicGames.Build, Configuration: Development Any CPU ------
9>EpicGames.Build -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Build\bin\Development\net6.0\EpicGames.Build.dll
10>------ Build started: Project: EpicGames.UHT, Configuration: Development Any CPU ------
10>EpicGames.UHT -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.UHT\bin\Development\net6.0\EpicGames.UHT.dll
8>EpicGames.Horde -> F:\Projects\Unreal\UnrealEngine\Engine\Source\Programs\Shared\EpicGames.Horde\bin\Development\net6.0\EpicGames.Horde.dll
11>------ Build started: Project: UnrealBuildTool, Configuration: Development Any CPU ------
11>UnrealBuildTool -> F:\Projects\Unreal\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll
12>------ Build started: Project: UE5, Configuration: Development_Editor x64 ------
12>Using bundled DotNet SDK version: 6.0.302
12>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64
12>Log file: F:\Projects\Unreal\UnrealEngine\Engine\Programs\UnrealBuildTool\Log.txt
12>Using 'git status' to determine working set for adaptive non-unity build (F:\Projects\Unreal\UnrealEngine).
12>Creating makefile for UnrealEditor (UnrealBuildTool assembly is newer)
12>Available x64 toolchains (1):
12> * F:\Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807
12> (Family=14.40.33807, FamilyRank=5, Version=14.40.33814, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
12>Visual Studio 2022 compiler version 14.40.33814 is not a preferred version. Please use the latest preferred version 14.38.33130
12>Available x64 toolchains (1):
12> * F:\Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807
12> (Family=14.40.33807, FamilyRank=5, Version=14.40.33814, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
12>Visual Studio 2022 compiler version 14.40.33814 is not a preferred version. Please use the latest preferred version 14.38.33130
12>Parsing headers for UnrealEditor
12> Running Internal UnrealHeaderTool UnrealEditor F:\Projects\Unreal\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest -WarningsAsErrors
12>Total of 0 written
12>Reflection code generated for UnrealEditor in 23.4372911 seconds
12>Creating makefile for ShaderCompileWorker (UnrealBuildTool assembly is newer)
12>Available x64 toolchains (1):
12> * F:\Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807
12> (Family=14.40.33807, FamilyRank=5, Version=14.40.33814, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
12>Visual Studio 2022 compiler version 14.40.33814 is not a preferred version. Please use the latest preferred version 14.38.33130
12>Parsing headers for ShaderCompileWorker
12> Running Internal UnrealHeaderTool ShaderCompileWorker F:\Projects\Unreal\UnrealEngine\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker.uhtmanifest -WarningsAsErrors
12>Total of 0 written
12>Reflection code generated for ShaderCompileWorker in 0.2454376 seconds
12>Building UnrealEditor and ShaderCompileWorker...
12>Using Visual Studio 2022 14.40.33814 toolchain (F:\Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
12>EXEC : warning : Visual Studio 2022 compiler is not a preferred version
12>Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
12> Executing up to 8 processes, one per physical core
12> Requested 1.5 GB memory per action, 11.5 GB available: limiting max parallel actions to 7
12>Using Parallel executor to run 11 action(s)
12>------ Building 11 action(s) started ------
12>** For UnrealEditor-Win64-Development **
12>[1/11] Link [x64] UnrealEditor-UbaController.dll
12> Creating library ..\Plugins\UbaController\Intermediate\Build\Win64\x64\UnrealEditor\Development\UbaController\UnrealEditor-UbaController.sup.lib and object ..\Plugins\UbaController\Intermediate\Build\Win64\x64\UnrealEditor\Development\UbaController\UnrealEditor-UbaController.sup.exp
12>[2/11] Compile [x64] Module.AvalancheViewport.cpp
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(244): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1092): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(246) <call to TSharedPtr<IAvaViewportClient,1>::IsValid>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1092): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1113) <call to TSharedPtr<IAvaViewportClient,1>::IsValid>
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(251) <call to TSharedPtr<IAvaViewportClient,1>::operator->>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(258): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(263): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(265): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h(389): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(266) <call to TArray<UE::Math::TVector2<float>,TSizedDefaultAllocator<32> >::TArray<UE::Math::TVector2<float>,TSizedDefaultAllocator<32> >>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h(1957): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(267) <call to TArray<UE::Math::TVector2<float>,TSizedDefaultAllocator<32> >::SetNum>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(270): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1092): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1113) <call to TSharedPtr<IAvaViewportClient,1>::IsValid>
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(272) <call to TSharedPtr<IAvaViewportClient,1>::operator->>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformMath.h(928): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(273) <call to FGenericPlatformMath::Min<double>>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1092): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h(1113) <call to TSharedPtr<IAvaViewportClient,1>::IsValid>
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(276) <call to TSharedPtr<IAvaViewportClient,1>::operator->>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(278): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformMath.h(928): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Math\UnrealMathUtility.h(593) <call to FGenericPlatformMath::Min<double>>
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Math\UnrealMathUtility.h(600) <call to FMath::Clamp<double>>
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Math\UnrealMathUtility.h(596) <call to FMath::Clamp>
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(279) <call to FMath::Clamp<float,double,float>>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(280): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(281): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(282): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Math\Box2D.h(298): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(284) <call to UE::Math::TBox2<float>::GetSize>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Math\Box2D.h(253): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(285) <call to UE::Math::TBox2<float>::GetCenter>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(288): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(289): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(291): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(296): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(48): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(298) <call to FAvaCameraZoomController::GetFOVPerStep>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformMath.h(921): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(299) <call to FGenericPlatformMath::Max<double>>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(300): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Source\Runtime\Core\Public\Math\UnrealMathUtility.h(596): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(301) <call to FMath::Clamp<double,float,double>>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(48): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(303) <call to FAvaCameraZoomController::GetFOVPerStep>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(304): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(306): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(190): error C4702: unreachable code
12> inlined at F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(308) <call to FAvaCameraZoomController::Reset>
12> while compiling FAvaCameraZoomController::CenterOnBox
12>F:\Projects\Unreal\UnrealEngine\Engine\Plugins\Experimental\Avalanche\Source\AvalancheViewport\Private\Interaction\AvaCameraZoomController.cpp(313): error C4702: unreachable code
12> while compiling FAvaCameraZoomController::CenterOnBox
12>Total time in Parallel executor: 32.41 seconds
12>Total execution time: 77.37 seconds
12>F:\Software\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.
12>Done building project "UE5.vcxproj" -- FAILED.
========== Build: 11 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 10:38 and took 01:35.765 minutes ==========