- 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.
错误原因:
链接:https://forums.unrealengine.com/t/trouble-creating-c-project-in-ue5-ea/232968/5
解决办法:
1. 下载最新的RiderSourceCodeAcess
链接:https://github.com/JetBrains/RiderSourceCodeAccess
2. 替换到引擎的插件目录
{EngineFolder}/Engine/Plugins/Developer/
3. 相应把{EngineFolder}/Engine/Plugins/Developer/
下的RiderLink
copy到项目的Plugins
目录下{GameFolder}/Plugins/Developer/
4. 保证RiderLink
安装的目录是Game
,而不是Engine
注意:
修改完毕之后,Rider还是会提示这个错误,但是编译引擎,可以启动项目了
版权声明:本文为longyanbuhui原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。