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 !