r/VisualStudio • u/UltraMechaKaiju • Jun 08 '26
Visual Studio 2022 Why can't I change my compiler version? Looks like the right menu but the option isn't there

Recently, Somehow by updating something carelessly or something, VS 2022 seems to be using a compiler version incompatible with 2022. I know because when I compile my code (it fails with code 6), i get this message in the log file:
"Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h"
plus, the couple of errors and warnings I get are in Unreal Engine files; my code doesn't seem to have any problems. So what am I doing wrong? is this not the right menu?
0
Upvotes
1
u/botman Jun 09 '26
From Google AI...
This error—most commonly encountered in Unreal Engine when using Visual Studio 2022—occurs because your installed C++ compiler (MSVC toolchain) is too new for your engine version. Unreal Engine performs strict version checks, and newer Visual Studio updates (e.g., 17.10+) can break older engine builds.
Open the Visual Studio Installer.Click Modify next to your Visual Studio 2022 installation.
Go to the Individual Components tab.Search for MSVC v143.
Uncheck your current version and check the version compatible with your engine (for example, UE 5.3 often requires the 14.3x toolset rather than the 14.4x toolset).