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.

+2 votes

Hi! I'm stuck on trying to using AkAudioSessionCategoryPlayback on iOS with Unity 2020.2.7f1 - I know it exists in the SDK: https://www.audiokinetic.com/library/edge/?source=SDK&id=_aki_o_s_sound_engine_8h_a45868714def93979efd2a766660de8e0.html

I do see the Playback category when I look in the SDK for Wwise 2021.1.3 (the version we're using) in the AkiOSSoundEngine.h file, but it is not in the AKiOSSettings.cs file within /Assets/Wwise/API/Runtime/Handwritten/iOS/AkiOSSettings.cs line 52 is missing the Playback option.

And when I tried to manually set the category to Playback, I got this issue in XCode - 2021-10-13 14:35:59.573033-0700 abra[63427:20813518] AK Error: Failed to set audio session category.: Error: Error Domain=NSOSStatusErrorDomain Code=2003329396 "(null)". This seems to imply that it's an Apple issue, and not on the Wwise side.

Wondering if anyone might know how to get the AkAudioSessionCategoryPlayback to work - the use case is getting Wwise audio to play while the app is in the background or the screen is off for a game that is primarily played through audio.

in Feature Requests by Jenny X. (120 points)
Could you solve this issue?
Where you able to solve your issue, Jenny? We are facing the same challenge of making the app play audio while in background with screen off.

Please sign-in or register to answer this question.

...