Hello! I’m new to UE and c++ so sorry in advance for maybe noob questions.
First - my rig:
UE 5.2
win11
VS 2022
VS Code latest
I can’t start/create project with C++ (with blueprint works fine). New blanc project. First, I get this log message:
The project could not be compiled. Would you like to open it in Visual Studio Code?
Running X:/Games/UE_5.2/Engine/Build/BatchFiles/Build.bat Development Win64 -Project="C:/Users/Nikita/OneDrive/Projects/Unreal Engine/S03_CryptRaider/CryptRaider/CryptRaider.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="C:/Users/Nikita/OneDrive/Projects/Unreal Engine/S03_CryptRaider/CryptRaider/CryptRaider.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\Nikita\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for CryptRaiderEditor (no existing makefile)
Expecting to find a type to be declared in a module rules named 'MetaHumanProjectUtilities' in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the 'ModuleRules' type defined by Unreal Build Tool.
If I click on “open with visual studio code” - it gives me error below:
And project won’t start. If I try to open file in folder or start project from UE menu it gives me those errors
Now what have I tried with no result:
-
updating Visual Studio (with VS intaller) and intalling win11 sdk
-
Running UE as admin
-
try to compile it with VSCode. I get this log
* Executing task in folder CryptRaider: Engine\Build\BatchFiles\Build.bat CryptRaiderEditor Win64 Development 'C:\Users\Nikita\OneDrive\Projects\Unreal Engine\S04_CryptRaider\CryptRaider\CryptRaider.uproject' -waitmutex
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" CryptRaiderEditor Win64 Development "C:\Users\Nikita\OneDrive\Projects\Unreal Engine\S04_CryptRaider\CryptRaider\CryptRaider.uproject" -waitmutex
Log file: C:\Users\Nikita\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for CryptRaiderEditor (no existing makefile)
Expecting to find a type to be declared in a module rules named 'MetaHumanProjectUtilities' in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the 'ModuleRules' type defined by Unreal Build Tool.
* The terminal process "C:\Program Files\PowerShell\7\pwsh.exe -Command Engine\Build\BatchFiles\Build.bat CryptRaiderEditor Win64 Development 'C:\Users\Nikita\OneDrive\Projects\Unreal Engine\S04_CryptRaider\CryptRaider\CryptRaider.uproject' -waitmutex" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
-
installing ASP.NET Core 3.1
-
installing .net 6 through Visual Studio intaller
-
installed .net v6 runtime (from microsoft website)
-
installed .NET Core 3.1 SDK from microsoft website and .net core 3.1 runtime from VS intaller
-
Installed VS 2019 C++ from Visual Studio Installer
My Current VS installation is like this
Can someone please help?