Tag Archives: Expecting to find a type to be declared in a module rules named ‘RD’ in UE5Rules

[Solved] Rider Compile UE5 Project Error: Expecting to find a type to be declared in a module rules named ‘RD’ in UE5Rules…

  • Specific 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.
  • Cause of the problem: When Rider opens a new UE5 project, it will prompt to install the RiderLink plug-in, and you choose to install it to Engine instead of Game. I found some information that the UE5 engine downloaded by the launcher does not currently support the installation of third-party plug-ins in the engine.
  • How to solve: UnrealLink should not be installed to the Engine, but should be placed in the Game
    . In Rider, Ctrl+Shift+A type the command Install RiderLink in Game to transfer the RiderLink plugin from the Engine to the Game