I recently have been working with Unreal Engine and C++. I was previously using a mix of Visual Studio and Rider (Visual Studio for building, Rider for editing since it was faster).
Upon release of Rider 2022.1, I tried to use RiderLink to build my Unreal Engine project from source. I shut down ALL instances of Unreal Engine that I had running (I had a few open since I was moving code from Blueprints to C++). However, upon doing so, I was met with this interesting error that I have yet to figure out how to fix:
Visual Studio Log
1>------ Build started: Project: FrameworkProject, Configuration: DebugGame_Editor x64 ------
1>Using bundled DotNet SDK
1>Log file: C:\Users\willi\AppData\Local\UnrealBuildTool\Log.txt
1>Creating makefile for FrameworkProjectEditor (no existing makefile)
1>UnrealBuildTool : error : 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.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “C:\Users\willi\Documents\UE_5.0\Engine\Build\BatchFiles\Build.bat FrameworkProjectEditor Win64 DebugGame -Project=“C:\Users\willi\OneDrive\Rapidfire\Conniption Framework for Unreal Engine\FrameworkProject\FrameworkProject.uproject” -WaitMutex -FromMsBuild” exited with code 6.
1>Done building project “FrameworkProject.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Unreal Engine itself seems to be fine but the project itself refuses to package up. The code itself is error free - I hadn’t edited it at all before I tried Rider 2022.1 and before then it compiled just fine - but I cannot figure out where to fix this.
If you need any more information don’t hesitate to ask, and thanks in advance.