UE5打包Linux碰到的一些错误

已解决在这里插入图片描述
我的打包情况是:
UE5.0.3中 平台–>打包–>Linux–>打包项目(使用项目配置)
失败,显示问题:
在这里插入图片描述

UATHelper: 打包 (Linux): ERROR: Missing precompiled manifest for 'BlueprintJson', 'E:\UE5\UE_5.0\Engine\Plugins\Marketplace\BlueprintJson\Intermediate\Build\Linux\B4D820EA\UnrealGame\Development\BlueprintJson\BlueprintJson.precompiled'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in BlueprintJson.build.cs to override. If part of a plugin, also check if its 'Type' is correct.
PackagingResults: Error: Missing precompiled manifest for 'BlueprintJson', 'E:\UE5\UE_5.0\Engine\Plugins\Marketplace\BlueprintJson\Intermediate\Build\Linux\B4D820EA\UnrealGame\Development\BlueprintJson\BlueprintJson.precompiled'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in BlueprintJson.build.cs to override. If part of a plugin, also check if its 'Type' is correct.
UATHelper: 打包 (Linux): Took 0.9956644s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: 打包 (Linux): UnrealBuildTool failed. See log for more details. (C:\Users\18561\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE5+UE_5.0\UBT-SDK-Linux-Development.txt)
UATHelper: 打包 (Linux): AutomationTool executed for 0h 0m 2s
UATHelper: 打包 (Linux): AutomationTool exiting with ExitCode=6 (6)
UATHelper: 打包 (Linux): BUILD FAILED
PackagingResults: Error: Unknown Error

一.

可以先根据这个办法试一试,我没有解决,因为找到那个文件打开后没有下面这行。

PrecompileForTargets = PrecompileTargetsType.Any

二.

换另一种办法,把引擎目录下的插件复制到项目下。我一开始是按照官方论坛里一个视频分享的方法改的,但没有效果,才用了接下来的办法。有同样问题可以先试试他的。

1.

根据报错信息,找到路径,在引擎目录下,而不是项目目录
在这里插入图片描述

2.

直接把项目文件夹复制,粘贴到项目文件路径下,如图。
注意!这个地方如果没有Plugins文件夹,自己建一个。复制之后把源文件夹里的删除,否则会报错

PackagingResults: Error: System.ArgumentException: An item with the same key has already been added. 

在这里插入图片描述

3.

按照上述处理完一个插件之后,刷新平台状态进行打包,我所有的插件都出了这个问题因此全都复制过去了,完成之后重启项目,检查确定设置里的插件是正常的,接着平台–>刷新平台状态,最后打包成功!
在这里插入图片描述

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值