Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes

I am running Wwise 2024.1.2 Build 8726 on VisionOS, and it is crashing when initializing the sound engine.  If I use the debug or profile version of the WWise libraries then it does not crash.

Here is the callstack of the crash:

Thread 1 Queue : com.apple.main-thread (serial)
#0    0x0000000000000000 in 0x00000000 ()
#1    0x000000011d2b8064 in AK::SoundEngine::Term at /Users/Shared/Jenkins/ws/wwise_v2024.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Common/AkAudioLib.cpp:1212
#2    0x000000011d2b78d4 in AK::SoundEngine::Init at /Users/Shared/Jenkins/ws/wwise_v2024.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Common/AkAudioLib.cpp:1104
#3    0x000000011d250398 in Init at /Users/Shared/Jenkins/ws/wwise_v2024.1/wwiseunity/AkUnitySoundEngine/Common/AkUnitySoundEngineStubs.cpp:845
#4    0x0000000117f182b4 in ::AkUnitySoundEnginePINVOKE_CSharp_Init_m71BDDCBC63E2F6F6D3404115B98F4EAA7AF45B56(intptr_t, const RuntimeMethod *) at /Users/tommy/Playful/superlucky/build/VISION/SLT/nslt.exe/Il2CppOutputProject/Source/il2cppOutput/AK.Wwise.Unity.API.cpp:47810
#5    0x0000000117f3d000 in ::AkUnitySoundEngine_Init_mBA704E26B46AB2AF072AD07A4D3C8B5686AADAAF(AkInitializationSettings_t8DB337B8EC5A6A271542BEB56090A9B16A9B67ED *, const RuntimeMethod *) at /Users/tommy/Playful/superlucky/build/VISION/SLT/nslt.exe/Il2CppOutputProject/Source/il2cppOutput/AK.Wwise.Unity.API__1.cpp:15309
#6    0x0000000117f584a8 in ::AkUnitySoundEngineInitialization_InitializeSoundEngine_m6FFD1325626AB6A6637A2E5FD2364DE936C0AB39(AkUnitySoundEngineInitialization_tBD226E4EDC72713BE9962F6FDA0D8AB30C419360 *, const RuntimeMethod *) at /Users/tommy/Playful/superlucky/build/VISION/SLT/nslt.exe/Il2CppOutputProject/Source/il2cppOutput/AK.Wwise.Unity.API__1.cpp:28959
#7    0x0000000117f73890 in ::AkSoundEngineController_Init_m570357CA0EA5357BEDD4CF02EE34C80369F8AC21(AkSoundEngineController_tE70A29058F2A3DE12CDB15B726548588EEEC9B24 *, AkInitializer_t4C36AE8F1618412FC88408BDE3CCFF8E272FBEB9 *, const RuntimeMethod *) at /Users/tommy/Playful/superlucky/build/VISION/SLT/nslt.exe/Il2CppOutputProject/Source/il2cppOutput/AK.Wwise.Unity.MonoBehaviour.cpp:18895
#8    0x0000000117f73558 in ::AkInitializer_OnEnable_mB9C437A610EA8FF54EEE699E9EF32EA0282C5A59(AkInitializer_t4C36AE8F1618412FC88408BDE3CCFF8E272FBEB9 *, const RuntimeMethod *) at /Users/tommy/Playful/superlucky/build/VISION/SLT/nslt.exe/Il2CppOutputProject/Source/il2cppOutput/AK.Wwise.Unity.MonoBehaviour.cpp:10742

Here is the last part of the log before the crash:

Unloading 6 Unused Serialized files (Serialized files now loaded: 1)
InControl (version 1.8.10 build 9378)
NewUnityInputDeviceManager enabled.
*** AkInitializer::Awake setting instance
UnityEngine.DebugLogHandler:Internal_Log_Injected(LogType, LogOption, ManagedSpanWrapper&, IntPtr)
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Debug:LogFormat(Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.Debug:LogError(Object)
AkInitializer:Awake()
UnityEngine.Object:Internal_InstantiateSingle_Injected(IntPtr, Vector3&, Quaternion&)
UnityEngine.Object:Internal_InstantiateSingle(Object, Vector3, Quaternion)
UnityEngine.Object:Instantiate(Object, Vector3, Quaternion)
UnityEngine.Object:Instantiate(T, Vector3, Quaternion)
Playful.Test.Sequences.<SpawnChest>d__27:MoveNext()
AutoAttachPrefab:AttachPrefab()
AutoAttachPrefab:Awake()

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects.
WwiseUnity: Wwise(R) SDK Version 2024.1.2 Build 8726.
WwiseUnity: Setting Plugin DLL path to: /private/var/containers/Bundle/Application/8AFDF2B2-35C0-41F0-8077-51D8C8E1FF9B/Test.app/Data/Plugins/
Can't show file for stack frame : <DBGLLDBStackFrame: 0x1179bd2c0> - stackNumber:1 - name:AK::SoundEngine::Term. The file path does not exist on the file system: /Users/Shared/Jenkins/ws/wwise_v2024.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Common/AkAudioLib.cppCan't show file for stack frame : <DBGLLDBStackFrame: 0x1179bd2c0> - stackNumber:1 - name:AK::SoundEngine::Term. The file path does not exist on the file system: /Users/Shared/Jenkins/ws/wwise_v2024.1/Wwise/SDK/source/SoundEngine/AkAudiolib/Common/AkAudioLib.cpp

Please let me know if there is any more information I can provide.  Thanks.

in General Discussion by Thomas B. (130 points)

Please sign-in or register to answer this question.

...