i HAVE BRAND NEW GAMEING PC Unreal Engine 5.4 C++ Compile Failure – Visual Studio Will Not Build Even Fresh Projects

I’m having an issue where Visual Studio 2022 will not compile any Unreal Engine 5.4 C++ project. This includes completely new projects with no added code. As soon as Unreal tries to build the project modules, the compile fails and UE won’t open the project.

Errors I’m seeing:

  • The command ““C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat” MyProjectEditor Win64 Development -Project=“D:\testbs\MyProject\MyProject.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 6.

  • The target framework ‘net6.0’ is out of support and will not receive security updates in the future. Please refer to .NET and .NET Core official support policy | .NET for more information about the support policy.

  • The target framework ‘net6.0-windows10.0.19041’ is out of support and will not receive security updates in the future. Please refer to .NET and .NET Core official support policy | .NET for more information about the support policy.

  • Package ‘Microsoft.Extensions.Caching.Memory’ 6.0.1 has a known high severity vulnerability, Microsoft Security Advisory CVE-2024-43483 | .NET Denial of Service Vulnerability · CVE-2024-43483 · GitHub Advisory Database · GitHub
    identifier “FTextureBuildSettings” is undefined
    member function declared with ‘override’ does not override a base class member
    member function declared with ‘override’ does not override a base class member

  • Build stops with:
    The command ... Build.bat exited with code 6

These errors appear even when I create a brand-new UE5.4 project and add a blank C++ class with no changes.

What I’ve already done:

  • Uninstalled Visual Studio 2022 completely and deleted all leftover VS folders.

  • Reinstalled Visual Studio with the correct workloads:

    • Desktop Development with C++

    • MSVC v143 (14.38)

    • Windows 10 SDK (10.0.19041)

  • Uninstalled Unreal Engine 5.4 completely and reinstalled it clean through the Epic Launcher.

  • Added Visual Studio, MSBuild, UnrealEditor, UnrealBuildTool, ShaderCompileWorker, and the Epic Games Launcher to Windows Firewall.

  • Deleted project folders (Binaries, Intermediate, Saved, DerivedDataCache) and regenerated project files.

  • Tried new projects in different locations and different names.

Current situation:
Even with clean installs of both Unreal and Visual Studio, and even with a blank new class, the build still fails inside Unreal Engine headers. Visual Studio simply won’t compile the project, and UE refuses to load it.

I’m looking for guidance on what might cause this, whether this is a known issue with UE5.4 and VS/MSVC, and what else I should check to get Visual Studio compiling Unreal projects again.

When I open Visual Studios from create new game it does compile, after adding new C++ file it will Rebuild but it gives these errors listed on Build trying to fix this for 2 days now.

CyberPowerPC – Gaming Desktop

  • CPU: Intel Core Ultra 9 285K

    • 24 cores

    • 24 threads

    • Base clock: 3.7 GHz

    • Boost: 5.7 GHz

  • GPU: NVIDIA GeForce RTX 5070 Ti (16GB)

  • RAM: 64GB DDR5

  • Storage: 2TB PCIe 4.0 SSD

  • OS: Windows 11

  • Motherboard/Brand: CyberPowerPC

  • All driver updated Yesterday

Hello there @ThaKidNowThaMan!

Your setup looks way capable for UE work, so this problem should not be tied to hardware. The errors you are receiving suggests there are still missing or incorrect components in your UE/VS software setup. The most notable one states that you are working with .NET 6.0, which is no longer supported, even at UE 5.4, you should be working with .NET 8.0.

For a full guide on all the required components and their versions, please check the doc below:

Once you have removed/re-installed all addons, please repeat the cache clear as you did before, deleting project folders (Binaries, Intermediate, Saved, DerivedDataCache) and regenerating all files. After that, please test with a blank project again.

Same Issue

Turn Off Live Coding Resolved This!!!