Hey I cant create C++ projects anymore, nor compile C++ components added to blueprint projects.
I have a few of the error messages here. But ngl. I have no idea what the issues is. I reseted my PC because of this but the issue still persists.
I don’t know where to start looking for issues or how to resolve them. Would really appreciate some help and gonna provide more pictures if needed.
The project could not be compiled. Would you like to open it in Rider?
Running C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“D:/UnrealEngine/UnrealProject/MyProject/MyProject.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:/UnrealEngine/UnrealProject/MyProject/MyProject.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\patri\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.34435, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
Visual Studio 2022 compiler version 14.42.34435 is not a preferred version. Please use the latest preferred version 14.38.33130
Creating makefile for MyProjectEditor (no existing makefile)
Total execution time: 0.63 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).
Greetings @The_Jorrick27! Let’s see what we can do here.
Checking your error log and screenshots, the first step (which I’m sure you already covered) would be to ensure that you are using the latest build and updates for UE, Visual Studio, and your OS.
After that, your issue has been tackled on other threads in the community, with different solutions, either disabling settings in Rider as seen here, or switching your Visual current version to an older one.
So I have the same setup on my laptop and everything works fine… Same IDE , same unreal version etc… Because of that I wiped my PC and reinstalled everything from scratch . Same issue =/
now that i uninstalled it and only have Visual Studio 2022 installed it still shows the following error when attempting to create a new C++ project.
The project could not be compiled. Would you like to open it in None?
Running C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“D:/UnrealEngine/UnrealProject/MyProject3/MyProject3.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:/UnrealEngine/UnrealProject/MyProject3/MyProject3.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\patri\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.34435, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)
Visual Studio 2022 compiler version 14.42.34435 is not a preferred version. Please use the latest preferred version 14.38.33130
Creating makefile for MyProject3Editor (no existing makefile)
Total execution time: 0.50 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).
Alright so I now fixed it … Installing windows SDK manually, updating windows, repairing visual studio and
copying “C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\ThirdParty\DotNet\8.0.300\win-x64\host\fxr\8.0.5\hostfxr.dll” to C:\Program Files\Epic Games\UE_5.5\Engine\Binaries\DotNET" seemed to fix it… I don’t know what exactly fixed it there but at least i can create a new C++ project now ^^ Thx for the help =)