Unreal Engine 5.7 and Visual Studio 2026!!

If I’m not mistaken, you can set _MSC_VER there. I don’t remember exactly which file, but it’s related to building and generating solutions for Visual Studio. I personally did this with the Unreal Engine 4.27 plus branch, and I build the engine using Visual Studio 2026.

I absolutely concur! It’s incredible how well UE 5.7 and VS 2026 work together from the beginning. I’m eager to see what people create with it!

Thank you! VS26 Community works fine with UE 5.5 using MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8).

I Installed MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8) in vs 2026 community but it still does not work.

Setting up Unreal Engine project files...
Using bundled DotNet SDK version: 8.0.412 win-x64
Log file: D:\\Unreal\\UnrealEngine\\Engine\\Programs\\UnrealBuildTool\\Log_GPF.txt

Some Platforms were skipped due to invalid SDK setup: Mac, IOS, Android, Linux, LinuxArm64, TVOS.
See the log file for detailed information

Generating VisualStudio project files:
Adding projects for all targets...
Adding projects for all targets took 0.27s
Visual Studio 2022 x64 must be installed in order to build this target.

Result: Failed (OtherCompilationError)
Total execution time: 0.64 seconds

GenerateProjectFiles ERROR: UnrealBuildTool was unable to generate project files.

It tells you the problem - Visual Studio 2022 x64 must be installed.

I’ve experienced (not for some time, though), where the build tool gets deleted. If you open the solution:

C:\Program Files\Epic Games\UE_5.7\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.sln

and compile it, it fixes that problem.

But it looks like the error is rooted in which VS you have installed.

I was trying to setup a source code version unreal engine, this error came out when running GenerateProjectFiles.bat. Is there any work around?