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.

Problems With Wwise Integration In Unity

+4 votes
Hi Everyone !

 

I'm having a lot of trouble integrating Wwise within Unity ! When opening Unity right after the integration part, a few error messages pop up and I have no idea how to fix the issue :

- DllNotFoundException: AkSoundEngine assembly:<unknown assembly> type:<unknown type> member:(null)
AkSoundEngine.IsInitialized () (at Assets/Wwise/API/Runtime/Generated/Mac/AkSoundEngine_Mac.cs:110)
AkSoundEngine.PreGameObjectAPICallUserHook (UnityEngine.GameObject gameObject, System.UInt64 id) (at Assets/Wwise/API/Runtime/AkSoundEngine.extensions.cs:56)
AkSoundEngine.PreGameObjectAPICall (UnityEngine.GameObject gameObject, System.UInt64 id) (at Assets/Wwise/API/Runtime/Handwritten/Common/AkSoundEngine.cs:162)
AkSoundEngine.PostEvent (System.UInt32 in_eventID, UnityEngine.GameObject in_gameObjectID) (at Assets/Wwise/API/Runtime/Handwritten/Common/AkSoundEngine.cs:291)
AK.Wwise.Event.Post (UnityEngine.GameObject gameObject) (at Assets/Wwise/API/Runtime/WwiseTypes/WwiseTypes/AkWwiseEvent.cs:58)
AkEvent.HandleEvent (UnityEngine.GameObject in_gameObject) (at Assets/Wwise/MonoBehaviour/Runtime/AkEvent.cs:125)
AkAmbient.HandleEvent (UnityEngine.GameObject in_gameObject) (at Assets/Wwise/MonoBehaviour/Runtime/AkAmbient.cs:134)
AkTriggerHandler.Start () (at Assets/Wwise/MonoBehaviour/Runtime/AkTriggerHandler.cs:44)
AkDragDropTriggerHandler.Start () (at Assets/Wwise/MonoBehaviour/Runtime/AkTriggerHandler.cs:172)
AkEvent.Start () (at Assets/Wwise/MonoBehaviour/Runtime/AkEvent.cs:86)
AkAmbient.Start () (at Assets/Wwise/MonoBehaviour/Runtime/AkAmbient.cs:86)

It also says :

- WwiseUnity: AkSoundEngine is not loaded.
UnityEngine.Debug:LogWarning (object)
AkSoundEngineController:Init (AkInitializer) (at Assets/Wwise/MonoBehaviour/Runtime/AkSoundEngineController.cs:127)
AkInitializer:OnEnable () (at Assets/Wwise/MonoBehaviour/Runtime/AkInitializer.cs:65)

 

I'm using a Mac M1 with the latest version of Unity (2021.2.7f1) and also the latest version of Wwise (2021.1.5), if somebody could help me it would be greatly appreciated, this is really frustrating !
asked Dec 27, 2021 in General Discussion by Guillaume S. (190 points)
Did you find a solution to this issue ?

Please sign-in or register to answer this question.

...