问题描述
我在一些Windows机器上的独立构建中得到一个DLLNotFoundException,其他的工作是完美的。 Dll文件绝对是在plugins文件夹中,将其复制到projectName_Data文件夹,但没有区别。
I'm getting a DLLNotFoundException in standalone builds on some windows machines, others work perfectly. Dll file is definitely in the plugins folder, copied it to the projectName_Data folder too but no difference.
还尝试将dll添加到流媒体资源文件夹并设置新路径.SetEnvironmentVariable)如上所述,但也不起作用。
Also attempted to add dll to streaming assets folder and set new path (Environment.SetEnvironmentVariable) as above but that didn't work either.
使用Unity 4.5.5 btw
Using Unity 4.5.5 btw
任何所有的帮助将非常感谢!!!
Any help at all would be greatly appreciated!!!
推荐答案
我发现问题是玩家需要安装Visual C ++可再发行组件,可以在这里下载:
I discovered that the problem was that players needed Visual C++ redistributable installed, which can be downloaded here:https://www.microsoft.com/en-gb/download/details.aspx?id=40784
这篇关于DLLNotFoundException - Unity3D插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!