Starting new project prompts me to open VS leading to a command prompt window that does nothing

I have followed all the setup tutorials, uninstalled and reinstalled Unreal, and everything else I could find online and got nothing. Can someone please help a complete newbie who is looking to learn about using the engine get past the following error that appears whenever I try to open a blank project?

"The project could not be compiled. Would you like to open it in Visual Studio?

Running E:/Program Files (x86)/Unreal/UE_5.4/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“E:/Unreal Projects/MyProject/MyProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“E:/Unreal Projects/MyProject/MyProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\Jon-Ant\AppData\Local\UnrealBuildTool\Log.txt
Visual Studio 2022 is installed, but is missing the C++ toolchain. Please verify that the “MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)” component is selected in the Visual Studio 2022 installation options.
Total execution time: 0.63 seconds
UnrealBuildTool has banned the MSVC 14.39.33519-14.39.99999 toolchains due to compiler issues. Please install a different toolchain such as 14.38.33130 by opening the generated solution and installing recommended components or from the Visual Studio installer."

The window asks me to either open in Visual Studio or Cancel but opening in Visual Studio goes nowhere except a basic Command Prompt dialogue box that can’t go anywhere from that point.

Go to your visual studio installer. Pick modify => Individual components
type in msvc.

Make sure you have the checkbox next to latest selected (x64/x86 build tools)


(I have some extra due to having multiple versions of unreal installed, as you can see I also have 14.38 checked)

I had done that and it still wasn’t registering. I was actually just able to get it to work by reinstalling both programs and when the error popped again VS prompted me to install missing addons. Thanks for responding though!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.