目录
1. UE打包报错:ERROR: No target name was specified on the command-line.
2. UE打包报错:ERROR: Expecting to find a type to be declared in a module rules named ‘XXX’
4.UE打包报错:ERROR: More than one Game project found for project:
5. UE打包报错:uproject does not look like uproject file but no targets have been found!
6.使用UE插件对白膜进行材质贴图后打包成功后运行,但白膜没有材质贴图,如何解决。
7. 打包 exe 失败,并出现关于 SuperMapUI 的错误
前言
使用SuperMap Hi-Fi 3D SDK for Unreal插件进行打包,会遇到一些打包失败或者打包后无法正常使用等问题,本文档收集记录一些打包过程和使用打包工程可能会遇到的一些问题并给予相应的解决方案。
常见问题
1. UE打包报错:ERROR: No target name was specified on the command-line.
【问题原因】含C++代码的项目,名称不能是test,否则打包时会报错,名称与引擎打包内容重复
【解决办法】更改项目名称,建议不要是要test或者supermap命名
2. UE打包报错:ERROR: Expecting to find a type to be declared in a module rules named ‘XXX’
【问题原因】有的插件不支持放在引擎路径下,只能放在项目路径下,否则无法正常打包项目。
【解决办法】在项目路径下创建Plugins文件夹,将插件包拷入,项目重新打包。
3. UE打包报错:Error: System.ArgumentException: An item with the same key has already been added. Key: PakLoader
【问题原因】重复安装插件到了两个路径(引擎和项目)。