menu
版本
2024.1.1.8691
2024.1.1.8691
2023.1.9.8628
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.1.8691
2023.1.9.8628
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
The specified Dynamic Library for a plug-in was not found on disk. The name of the plug-in is specified with the error. This error happens if the plug-in is used in the project but is not linked statically to the game executable. 在出现此情况时,Wwise 会尝试查找对应的动态链接库文件(文件扩展名为 DLL、SO、BUNDLE 或 PRX,具体取决于平台)。
动态链接策略是可选的,游戏开发人员可根据个人偏好选择链接策略。However, if a plug-in is used in the Wwise Project, it's code must be linked to the game. 请注意,可混合使用链接策略。比如,针对某些插件使用静态链接,针对其他插件使用动态链接。
可能的原因:
在静态链接时,未使用 AllPluginFactories.h(并无不妥),但缺少插件包含文件 (***Factory.h) 或未链接库。
在动态链接时,未将动态链接库文件(文件扩展名为 .dll、.so、.bundle 或 .prx)部署至目标平台。
在动态链接时,未正确设置动态链接库搜索路径。在默认情况下,系统会自动正确设置。不过,有些实现人员希望通过 AkInitSettings::szPluginDLLPath
进行手动更改。
Unity 用户:更改 Wwise 工程时包含了新插件,但游戏版本未将所需 DLL 打包。
推荐的解决步骤:
确保游戏中有一个 .cpp 包含指定的插件 Factory 包含文件。确保静态链接对应的库。参阅 集成详情 – 插件。
若在游戏中更改了默认的 AkInitSettings::szPluginDLLPath
,请确保该路径存在。
若使用动态链接,请确保所需动态链接库包含在打包/分发系统中,并安装到目标平台上。
Unity 用户:重新构建游戏,并将缺失文件包含在内。