Hello, I'm using Unity/Wwise > building for iOS. I'm trying to make the app play my music when the iphone is locked.
1. I couldn't find Playback in the dropdown at Unity > Project Settings > Wwise Initialization settings > iOS Specific Advanced Settings > Audio Session Category. So I went into AkiOSSettings.cs file and manually added a new property to the public enum Category { Ambient, SoloAmbient, PlayAndRecord, Playback } Then, I was able to select the option from the drop down.
2. When launching the app on an iPhone, upon locking the screen the music plays until the screen dims. When I tap on the screen to reveal the wallpaper the music continues to play. A few seconds later when the screen dims the music stops.
When the screen is dimmed I get an error in Xcode - AK Error: Voice Starvation
Can anyone help me out to resolve the issue? Is there a Wwise setting I'm missing, is it an iOS settings that has to be set up or is it a bug?
Using Wwise v2022.1.0 (can't upgrade because the Upgrade button in the Wwise Launcher is disabled and I can't figure out how to upgrade to the newest version). Unity 2022 and iOS 12+
Thanks in advance