When I open an Unreal 5 project in Rider, all the classes from UnrealBuildTool are shown as errors:
The type ‘object’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’
But the game itself still builds. Only the parts that use UnrealBuildTool report errors. How to fix it?
I’m guessing you installed vanilla Rider that doesn’t have the Unreal plugin installed or updated.
Make sure you have the UnrealLink Rider plugin installed, then install the RiderLink plugin in your game.
Also check in Languages > C++ > Unreal Engine and make sure you have Enable UnrealHeaderTool inspections checked. (There are some other great options to check in there as well).
same problem. rider warning that rider link complile error.
i fix it by update rider to the newest version (2023.3.3).
during the updating, both rider and link plugin will be updated.