使用插件导入第三方dll,打包后找不到dll的问题

使用插件导入第三方DLL打包后,只能手动复制DLL到Binaries\Win64路径里么?我使用了RuntimeDependencies和FPlatformProcess::PushDllDirectory方法指定了我DLL的路径打包后依然因为找不到DLL而崩溃,这是什么情况,是我使用方法不正确么?

Maybe you should speak English

Add RuntimeDependencies.Add("$(TargetOutputDir)/YourDllName.dll", Path.Combine(YourDllPath, "YourDllName.dll")); into Build.cs

1 Like

Thanks, very helpful !