Toolchain Requirements
Compiling Unreal Engine Vite from source requires a specific, pinned set of build tools. Unreal Build Tool picks a toolchain by scanning what is installed, so having several MSVC versions side by side is the single most common cause of build failure. Install exactly what this page lists and remove the rest.
Supported toolchains
Vite is validated against the following combinations. The first row is the current recommendation.
Toolchain | MSVC | Windows SDK | Status |
|---|---|---|---|
Visual Studio 2026 (latest) | 14.50 | 10.0.26100 | Current. Highest compiler performance and the toolchain Vite development targets. |
Visual Studio 2022 (latest) | 14.44 | 10.0.26100 | Supported. Matches the last toolchain update verified by Epic's UE 4.27 Plus branch. |
Visual Studio 2019 / 2022 | 14.29 | 10.0.18362 | Maximum stability. Oldest supported combination; use if your project needs the original toolchains. |
Required components
Install these through the Visual Studio Installer, under Individual components.
Desktop development with C++ workload
MSVC v14.50 – VS 2026 C++ x64/x86 build tools (or the version matching your chosen row above)
Windows 11 SDK (10.0.26100)
.NET Framework 4.6.2 targeting pack — required by UnrealBuildTool and AutomationTool
.NET Framework 4.5 targeting pack — required by SwarmAgent, SwarmCoordinator, NetworkProfiler and UnrealControls
To skip the manual component selection, download and import the Vite VSConfig file through the Visual Studio 26 Installer's Import configuration option.
Removing conflicting toolsets
Remove conflicting MSVC versions
Open the Visual Studio Installer.
Find your Visual Studio installation and click Modify.
Switch to the Individual components tab.
Uncheck every MSVC v14.x x64/x86 build tools entry except the one your chosen toolchain requires.
Uncheck every Windows SDK except the one your chosen toolchain requires.
Click Modify and let the installer finish before generating project files again.
Having more than one Windows SDK installed is not fatal, but it is a frequent source of link-time surprises. If you can get to exactly one, do.
The .NET Framework 4.5 targeting pack
The Visual Studio 2022 and 2026 installers no longer ship the 4.5 targeting pack, but the engine's C# tools still need it. A folder at C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5 that contains only XML files is a stub left behind by the .NET runtime, not a real targeting pack. Check for v4.5\RedistList\FrameworkList.xml to tell the difference.
ViteSetup.bat offers to install it automatically from the official Microsoft NuGet package. To do it by hand:
Install the .NET Framework 4.5 targeting pack manually
Download Microsoft.NETFramework.ReferenceAssemblies.net45 1.0.3.
Open the
.nupkgfile as a ZIP archive.Copy
build\.NETFramework\v4.5intoC:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5. This needs administrator rights.Confirm that
v4.5\RedistList\FrameworkList.xmlnow exists.
Pinning the SDK through BuildConfiguration.xml
Unreal Build Tool reads a per-user configuration file that overrides its toolchain autodetection. This is the reliable way to force a specific Compiler and Windows SDK when several are present.
Edit (VS26):
Verifying your toolchain
Before you start a long build, confirm what is actually installed. ViteSetup.bat performs this check for you and prints an [OK] or [FAIL] line for each requirement. To check by hand, look for:
C:\Program Files\Microsoft Visual Studio\<year>\<edition>\VC\Tools\MSVC\<version>\bin\Hostx64\x64\cl.exe— the MSVC toolsets you have installed are the folder names underVC\Tools\MSVC.C:\Program Files (x86)\Windows Kits\10\Include\<version>— the Windows SDKs you have installed.
A second useful checkpoint: watch the build output just before the linking phase begins and confirm which toolchain UBT reports using. Catching a mismatch there is much cheaper than catching it at link time.