UE5 踩坑记录

5 小时前
/
1

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.

疑似新建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...