I was working on some test project since I'm beginner in unreal engine, and I suddenly started getting this:
The project could not be compiled. Would you like to open it in Rider?
Running C:/Program Files/Epic Games/UE_5.1/Engine/Build/BatchFiles/Build.bat Development Win64 -Project="D:/rough/UnrealEngine/MyGame/MyGame/MyGame.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Development Win64 -Project="D:/rough/UnrealEngine/MyGame/MyGame/MyGame.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\baga\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for MyGameEditor (no existing makefile)
Expecting to find a type to be declared in a module rules named 'RD' in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the 'ModuleRules' type defined by Unreal Build Tool.
I've done what I could, including reinstalled visual studio and its dependencies, reinstalled unreal engine itself, but this doesn't go away. It always pops this error when i create a blank/non-blank c++ project in unreal engine.
When I compile the solution from visual studio, I get these error:
Microsoft.MakeFile.targets(44, 5): [MSB3073] The command ""C:\Program Files\Epic Games\UE_5.1\Engine\Build\BatchFiles\Build.bat" MyGameEditor Win64 Development -Project="D:\rough\UnrealEngine\MyGame\MyGame\MyGame.uproject" -WaitMutex -FromMsBuild" exited with code 6.
Not sure what is causing the issue, but, I'm literally not being able to start anything. Any insight would be really helpful. Thanks in advance.