问题描述
我在某些 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 添加到流资产文件夹并设置新路径 (Environment.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
Using Unity 4.5.5 btw
如果有任何帮助,我们将不胜感激!!!
Any help at all would be greatly appreciated!!!
推荐答案
我发现问题是玩家需要安装Visual C++ redistributable,可以在这里下载:https://www.microsoft.com/en-gb/download/details.aspx?id=40784
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 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!