menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

+3 投票

we need to change  path of the Unity\Assets\Wwise folder in our unity project,i had try to do that, and make some errors like: DllNotFoundException: AkWaapiClient and DllNotFoundException: AkSoundEngine.

so, how to solve the problem, thanks!

分类:General Discussion | 用户: feng j. (130 分)

2 个回答

+2 投票
it should be a bug, you can keep the dll files in the original folder and just move other scripts files as you wish~ But I hope Wwise official fix it as soon as possible
用户: JazMaybe (370 分)
0 投票

I can not ensure it is useful. 

I found a problem about 'AkPluginActivator.cs' in my project, the file shows that ‘// Path is Assets/Wwise/Deployment/Plugins/Platform. We need the platform string’ ,

and 'AkPluginActivator.cs' is called to parse the key info in gameplay, some codes like 'var pluginPlatform = splitPath[5];' ,the position '5' is from the default path 'Assets/Wwise/Deployment/Plugins/Platform' and it gets the info about 'Platform'

so, when I move wwise folder to Plugins, it changes 'Assets/Wwise/Deployment/Plugins/Platform' to 'Assets/Plugins/Wwise/Deployment/Plugins/Platform', it will get incorrect key info 'Plugins' , when I changed the position num to 6 (there are some code need to change in the file) , DllNotFoundException will not to be reported

用户: dongyue z. (150 分)
DllNotFoundException: Unable to load DLL 'AkSoundEngine': The specified
module could not be found. at AkSoundEnginePINVOKE.CSharp_IsInitialized
() [0x00000] in :0 at AkSoundEngineController.Init
(.AkInitializer akInitializer) [0x00000] in :0 at
GameMain.LuaManagerStart () [0x00000] in :0 at
ResUpdate+cIterator0.MoveNext () [0x00000] in :0
...