UE5 插件没有自动打包所需的dll

找到插件目录下的.cs文件

在如下位置添加内容

csharp 复制代码
// 仅对Windows 64位平台处理DLL
if (Target.Platform == UnrealTargetPlatform.Win64)
{
    // 添加运行时依赖,将DLL文件复制到打包输出目录
    string PluginBinariesPath = System.IO.Path.Combine(PluginDirectory, "Binaries", "Win64", "*.dll");
    string TargetOutputPath = System.IO.Path.Combine("$(TargetOutputDir)", "*.dll");

    // 声明运行时依赖
    RuntimeDependencies.Add(TargetOutputPath, PluginBinariesPath, StagedFileType.NonUFS);
}

如果是vs项目

然后找到项目.uproject文件,右键选择

相关推荐
nutriu19 小时前
从UE5.6DNA 导出指定LOD层级的ARkit52个表情或者Metahuman263个表情教程 #BlendShapeExporter
ue5·数字人·arkit·blendshape·虚拟角色·meta human·dna
AI视觉网奇1 天前
nvcr.io 登录方法
docker·ue5
会思考的猴子1 天前
UE5 C++ 笔记 GameplayAbilitySystem人物角色
c++·笔记·ue5
Zhichao_972 天前
【UE5.3 C++】ARPG游戏 01-创建天空、地形和植被
ue5
zhangzhangkeji2 天前
cesium126,230719,远程工作 Editor 里看不到地形:就是 UE 编辑器用客户端登录远程服务器进行编码时,看不到地图的实时更新
ue5
远离UE42 天前
UE5 Computer Shader 概念整理
ue5
曼巴UE52 天前
UE C++ FName, FText 测试
服务器·c++·ue5
zhangzhangkeji2 天前
cesium126,240621,Ce for Ue 通过 GeoServer 来加载 Shapefile - 1:
ue5
吃饭不结张3 天前
UE像素流多开与部署
ue5
AI视觉网奇3 天前
ue 加载 uasset
ue5