How to fix UE_5.5? won't create new c++ project/wont open editor

I just downloaded UE5.5, and it will not create a new project, and gives me the following errors (the project name is “TestProject”:

Running C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“D:/GameDev/UnrealEngine5/TestProject/TestProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 8.0.300
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“D:/GameDev/UnrealEngine5/TestProject/TestProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\disso\AppData\Local\UnrealBuildTool\Log.txt
Available x64 toolchains (1):

  • C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433
    (Family=14.42.34433, FamilyRank=1, Version=14.42.34433, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
    Visual Studio 2022 compiler version 14.42.34433 is not a preferred version. Please use the latest preferred version 14.38.33130
    Creating makefile for TestProjectEditor (no existing makefile)
    Total execution time: 0.55 seconds
    Platform Win64 is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc).Running C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“D:/GameDev/UnrealEngine5/TestProject/TestProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
    Using bundled DotNet SDK version: 8.0.300
    Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“D:/GameDev/UnrealEngine5/TestProject/TestProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
    Log file: C:\Users\disso\AppData\Local\UnrealBuildTool\Log.txt
    Available x64 toolchains (1):
  • C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433
    (Family=14.42.34433, FamilyRank=1, Version=14.42.34433, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
    Visual Studio 2022 compiler version 14.42.34433 is not a preferred version. Please use the latest preferred version 14.38.33130
    Creating makefile for TestProjectEditor (no existing makefile)
    Total execution time: 0.55 seconds
    Platform Win64 is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc).

The following modules are missing or built with a different engine version:

TestProject

Would you like to rebuild them now?

TestProject could not be compiled. Try rebuilding from source manually.

Blockquote

1 ) go to folder : D:/GameDev/UnrealEngine5/TestProject/
2 ) open a terminal
3) run this :
“C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat” -Target=“TestProjectEditor Win64 Development” -Project=“D:/GameDev/UnrealEngine5/TestProject/TestProject.uproject” -WaitMutex -FromMsBuild -architecture=x64

Thanks, but I Tried it and it didnt work. I downloaded UE 5.3.2, and its working flawlessly. I just want to understand what the problem is.

Did you followed according to documentation ?


try this:

1 Like

Thanks, still not working for me. The Visual Studio Installer is vague about which version will be installed, it just says 14.38-17.8. Any tips how to figure out what version number I should put in the buildConfiguration?

Frustrating that Unreal Engine doesn’t seem to work with C++ out of the box :frowning:

Having the same issue.

Following villinx’s instructions solves the “Preferred Version” issue, but the compiling still fails.

For reference the correct directory for solving the “Preferred Version” issue is AppData\Roaming\Unreal Engine\UnrealBuildTool and the VS component I used was MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8)

The remaining error is Platform Win64 is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc)., which is shared in OP’s error.

One clue, when running Build.bat as suggested by tootzoe, is that the console output included this line, Using bundled DotNet SDK version: 8.0.300. According to the link provided by villinx, the Windows 10 SDK should be 10.0.18362 or newer. It is not made clear if the “Windows 10 SDK” shown in the Unreal Engine documentation is referring to the same DotNet SDK shown in the terminal output when running Build.bat.

I have confirmed in the Visual Studio installer that Windows 10 SDK (10.0.18362.0) is installed, however the .NET Framework SDK is version 4.8.

So, it’s unclear exactly what the “bundled DotNet SDK version: 8.0.300” reported by Build.bat actually is.

Perhaps this information might be helpful to someone more experienced?

I have made some progress toward debugging the issue but have found no solution, I will try to correctly remember everything done since my response above.

TLDR UnrealEngine installation does not appear to be recognizing Windows as a valid support platform.

I’ve gone through and installed several more Virtual Studio components.

To confirm, I DO have currently installed all of the following components:
Workloads -

  • .NET desktop development
  • Desktop develtopment with C++
  • Windows application development
  • Game development with C++

Individual components -

  • .NET Frameowrk 4.8 SDK
  • .NET Framework 4.7.2 targeting pack
  • C# and Visual Basic
  • .NET Framework 4.8 targeting pack
  • .Net Framework 4.6.2 targeting pack
  • MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
    C++ CMake tools for Windows
  • Windows 10 SDK (10.0.18362.0)
  • NuGet targets and build tasks
  • Unreal Engine installer
  • MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8)

* NOTE * after installing C++ CMake tools, I was able to open the project in VisualStudio via the UnrealEngine compilation error prompt diagbox. (I’m not sure if this component is listed in the UnrealEngine installation documentation and I just missed it. With my A.D.D., it’s not impossible.) Opening the project in VS from the UE error daig, confirms same error as UE error daig.

Re-running the command posted by tootzoe returned an error, I’m not sure if I made a typo but trying again this way:
cd "C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/"
Build.bat -Target="TestProjectEditor Win64 Development" -Project="path/to/project/.uproject" -WaitMutex -FromMsBuild -architecture=x64
once again confirmed the UE error diag.

The concurrent, remaining error is Platform Win64 is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc).

Once again I verified that the correct Win 10 SDK (10.0.18362.0) is installed as VS component. I also verified the Windows directory “C:\Program Files (x86)\Windows Kits\10\Include” for the correct version (10.0.18362.0). Checking the output for Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots' via powershell returned confirmation that Kitroot10 was using the afformentioned "C:\Program Files (x86)\Windows Kits\10".

At this point it appears that the issue is with UnrealEngine rather than with VisualStudio or my components installations.

The first thing I do is check Unreal Engine preferences, everything seems to be in order. I tested both the entries for Unreal Editor → Edit → Editor Preferences → General → Source Code as Visual Studio and Visual Studio 2022 with no change in behavior.

Checking the Epic Launcher’s Unreal Engine Options (Epic Launcher > Library > Unreal Engine 5.5.3 > Options), it appears that Windows is not even an option. So I checked "C:\Program Files\Epic Games\UE_5.5\Engine\Config\Platforms" and there was no Windows platform directory listed here, only some strange OS name I don’t recognize from anyhere.

At this point I tried running "C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe" -Mode=QueryTargets to regenerate “C:\Program Files\Epic Games\UE_5.5\Engine\Intermediate\TargetInfo.json”

No change was observed to the Epic Launcher’s UE options, nor to any of the associated directories.

I have now uninstalled UE entirely and am reinstalling, but there appears some manual things I can try if a reinstallation is not successful; e.g., manually configured the C:\Users{$USER}\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml to include SDK parameters, but I have no idea if this line of troubleshooting holds any water.

Perhaps this issue needs to be elevated to a somewhat serious bug?

Reinstalling now has the Windows directory in "C:\Program Files\Epic Games\UE_5.5\Engine\Config" but there is still no Windows development option in the Epic Launcher’s Unreal Engine options. Perhaps it is simply a default, and/or I have experienced a number of simultaneous issues.

Suffice that reinstallation of UE did NOT solve the “Platform Win64 is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc).” error.

Final testing proved no success.

5.4.4 works fine, error only occurs 5.5+.

It seems after doing all of this, it appears I am at least able to add C++ into blueprint games now, so there’s that!

If your project isn’t creating a new project then I would suggest trying to change the engine’s build tool config. I was just able to build from source after changing it. Seeing as your project won’t compile / open I’d look there.

Go into your 5.5’s install folder then into \Engine\Saved\UnrealBuildTool
There you can add a custom config via a BuildConfiguration.xml file

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
	<WindowsPlatform>
               <CompilerVersion>YOUR MSVC VERSION NUMBER HERE</CompilerVersion>
		<WindowsSdkVersion>YOUR WINDOWS SDK VERSION NUMBER HERE</WindowsSdkVersion>
	</WindowsPlatform>
</Configuration>

This will enforce the sdk & compiler version (ticks in the vs modify install don’t matter as unreal ignores them and looks most likely at registry keys)

I’m having the same problem but unsure if its the same cause. Creating a C++ blank project with no starter content generated a solution file for the project, but then the editor closes immediately following. Attempting to reopen the .uproject file with an editor built from either solution file produces the same error in this thread.