Search Issue Tracker
Fixed
Fixed in 2021.3.46f1, 2022.3.52f1
Votes
8
Found in
2021.3.42f1
2022.3.44f1
Issue ID
UUM-79804
Regression
No
[Android] The Player freezes when playing audio on focus loss
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity Scene
3. Switch to Android Platform
4. Build and Run
5. In Player, press the Button with the text “Load and Play”
6. Open Android Notifications Panel
7. Close the Android Notifications Panel
Expected result: The Cube continues to rotate
Actual result: Player freezes
Reproducible with: 2021.3.42f1, 2022.3.44f1
Not reproducible with: 6000.0.19f1
Fixed in: 2023.1.0a1
Reproducible on:
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
Not reproducible on:
Windows Standalone Player
Play Mode
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- With 6000 stream or Windows Standalone Player audio stops playing but does not freeze
- Reproducible with Mono and IL2CPP
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note (fix version 2022.3.52f1):
On Android, fixed an issue where an Android app could freeze, if "Run in Background is false, if the app loses focus, and calls AudioSource::Stop when focus is lost.