Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

akinitialier在初始化调用aksoundengine.init方法时出错,中断游戏进程。具体是调用AkSoundEnginePINVOKE.CSharp_Init方法时卡住,没有返回

0 votes
02-01 15:25:05.564: E/CRASH(6867): 	#32  il ........  at (wrapper managed-to-native) AkSoundEnginePINVOKE.CSharp_Init (intptr,intptr,intptr,intptr,intptr,intptr,uint) <IL 0x0002e, 0xffffffff>
02-01 15:25:05.564: E/CRASH(6867): 	#33  il 000000f0  at AkSoundEngine.Init (AkMemSettings,AkStreamMgrSettings,AkDeviceSettings,AkInitSettings,AkPlatformInitSettings,AkMusicSettings,uint) [0x00000] in e:\CustomShare\Main\Wwise2017\Wwise\Deployment\API\Generated\Android\AkSoundEngine_Android.cs:2331
02-01 15:25:05.564: E/CRASH(6867): 	#34  il 000005f3  at AkInitializer.Initialize () [0x000eb] in e:\CustomShare\Main\Wwise2017\Wwise\Deployment\Components\AkInitializer.cs:160
02-01 15:25:05.564: E/CRASH(6867): 	#35  il 0000004b  at AkInitializer.Awake () [0x00000] in e:\CustomShare\Main\Wwise2017\Wwise\Deployment\Components\AkInitializer.cs:109
02-01 15:25:05.564: E/CRASH(6867): 	#36  il 0000013b  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0001c, 0x0013b>
02-01 15:25:05.564: E/CRASH(6867): 	#37  il ........  at (wrapper managed-to-native) UnityEngine.GameObject.Internal_AddComponentWithType (System.Type) <IL 0x0002e, 0xffffffff>
02-01 15:25:05.564: E/CRASH(6867): 	#38  il 0000009c  at UnityEngine.GameObject.AddComponent (System.Type) [0x00003] in /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/GameObjectBindings.gen.cs:382
02-01 15:25:05.564: E/CRASH(6867): 	#39  il 000000ab  at UnityEngine.GameObject.AddComponent<object> () [0x0000c] in /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/GameObjectBindings.gen.cs:387
02-01 15:25:05.564: E/CRASH(6867): 	#40  il 00001f0b  at MyGameStart/<Start>c__Iterator0.MoveNext () [0x0046f] in E:\3dmy\code\client2017\Assets\MyGameStart.cs:429
02-01 15:25:05.565: E/CRASH(6867): 	#41  il 000001a3  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator,intptr) [0x00028] in /Users/builduser/buildslave/unity/build/Runtime/Export/Coroutines.cs:17
02-01 15:25:05.565: E/CRASH(6867): 	#42  il 0000014f  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object_intptr (object,intptr,intptr,intptr) <IL 0x00022, 0x0014f>
asked Feb 1, 2019 in General Discussion by Lu S. (100 points)

1 Answer

0 votes
DllNotFoundException: Unable to load DLL 'AkSoundEngine': The specified module could not be found.
  at AkSoundEnginePINVOKE.CSharp_RegisterGameObjInternal_WithName (UInt64 jarg1, System.String jarg2) [0x00000] in <filename unknown>:0
  at AkSoundEngine.RegisterGameObj (UnityEngine.GameObject gameObject, System.String name) [0x00000] in <filename unknown>:0
  at AkGameObj.Awake () [0x00000] in <filename unknown>:0
  at UnityEngine.GameObject.AddComponent[T] () [0x00000] in <filename unknown>:0
  at GameMain.LuaManagerStart () [0x00000] in <filename unknown>:0
  at ResUpdate+<load>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
UnityEngine.GameObject:AddComponent()

哥们,我的报这个错误怎么解决?交流方式QQ:115452661
answered Mar 7, 2019 by afd d. (270 points)
...