Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
1
Found in
2019.3.0a1
2019.3.0b6
2020.1.0a1
Issue ID
1189966
Regression
Yes
[iOS] Unity Player does not respect the "Mute Other Audio Sources" toggle in Player Settings
How to reproduce:
1. Download attached project “AudioTest_20183f2.zip" and open in Unity
2. Open “SampleScene” scene
3. Make sure that "Mute Other Audio Sources" setting is unchecked
4. Build the project for iOS
5. Put some background Audio playing (in example Soundcloud playing from Safari)
6. Start the Built project on the Device
Expected results: Background and Built project Audio plays together
Actual results: Background Audio becomes Muted after the Game is opened
Reproducible with: 2019.3.0a1, 2019.3.0b6, 2020.1.0a8
Not reproducible with: 2018.4.11f1, 2019.1.14f1, 2019.2.8f1
Regresion found in: 2019.3.0a1
Notes:
- This issue does not appear on Android - Mono, and IL2CPP
- The issue seems to be caused by the AVAudioSession not being set to the correct category (or any category) in the generated XCode project. Manually adding this, setting the AVAudioSession to the AVAudioSessionCategoryAmbient category in UnityAppController.mm
by adding [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryAmbient error: nil]; in
- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment