Unreal Engine Visual Studio C++ Build Errors
Quick answer
Most UE5 compile failures come from a missing C++ workload or an MSVC toolset newer than your engine supports. Install the right workload and pin an older toolset.
Most likely fix: Install the right components
How to fix it
Try these in order — the most common fix is first.
1. Install the right components
- Visual Studio Installer > Modify > Game development with C++
- Make sure MSVC v143 build tools and a Windows 10/11 SDK are ticked
Did this fix it?2. Install and pin an older toolset
- Add the MSVC toolset recommended in the log (reports mention 14.38) in the installer
- Point UnrealBuildTool at it in %APPDATA%\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Did this fix it?3. Clean and regenerate
- Delete Binaries, Intermediate and .vs
- Generate Visual Studio project files and rebuild
Did this fix it?4. Source builds
- Use a short path such as C:\UE and run Setup.bat then GenerateProjectFiles.bat
Did this fix it?
Symptoms
C++ project fails to compile with internal compiler errors, 'Detected compiler newer than Visual Studio 2022', errors in ConcurrentLinearAllocator.h, or 'Visual Studio 2022 x64 must be installed'.
Why it happens
- Missing Game development with C++ workload, MSVC v143 or Windows SDK
- Newest MSVC toolset not supported by your engine version
- Mismatched Visual Studio version for the engine
- Stale Intermediate and project files
- Long file paths on source builds
This guide also covers
- unreal engine visual studio build error
- unreal engine c++ compile failed
- unreal engine msvc toolchain not compatible
Still not working?
If Unreal Engine keeps failing, you're not alone. See every Unreal Engine problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All export, render & quality loss guides →
- Unity Build Failed (Unity)
- Blender Crashing When Rendering (Blender)
Other Unreal Engine errors
- Unreal Engine Fatal Error Crash
- Unreal Engine GPU Crashed or D3D Device Removed
- Unreal Engine Shaders Compiling Forever (Stuck at 45%)
- Unreal Engine Out of Video Memory Error
- Unreal Engine Project Won't Open After Upgrade
- Epic Games Launcher Stuck Installing Unreal Engine
- Unreal Engine Packaging Failed (Unknown Cook Failure)
- Unreal Engine 5 Lumen and Nanite Low FPS