UE5 踩坑记录

2025 年 11 月 18 日 星期二(已编辑)
/
2

UE5 踩坑记录

过程

开启c++编程后,编译报错

Expecting to find a type to be declared in a module rules named 'VisualStudioTools' in 'UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.  This type must derive from the 'ModuleRules' type defined by UnrealBuildTool.

缺少 VisualStudioTools , 疑似新建c++项目,初始化时安装插件时选择 安装到驱动 导致。 应该选择安装到项目

解决方法

项目目录新建Plugins目录, 将 ...\UE_5.x\Engine\Plugins\VisualStudioTools 拷贝到该目录下。

其他

类似问题,同理解决方法

Expecting to find a type to be declared in a module rules named 'XXX' in 'UE5Rules

使用社交账号登录

  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...