Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X
Votes
0
Found in
2019.4
2019.4.29f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1356566
Regression
No
[iOS] App freezes when calling "Application.Quit()" if a script with "OnAudioFilterRead()" and an Audio Listener is in the Scene
How to reproduce:
1. Open the attached Unity project ("1356566_2021.2.0b7.zip")
2. Build And Run on an iOS device
3. When the app finishes loading, return to Home Screen
4. Go back into the app
5. Tap the "Quit" button
Expected result: the application quits
Actual result: the application freezes
Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5
Reproducible on:
iPhone 8 Plus (iOS 14.4.2)
iPad 6th generation (iOS 14.4.2)
iPad Air 2 (iOS 11.0.3)
Not reproducible on:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), Android 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
N/A, Huawei - (NOH-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G78
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
Note:
- Both "TestAudioRead.cs" and Audio Listener need to be on the same GameObject for reproduction
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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Resolution Note (fix version 2022.1):
Fixed an iOS bug where calling Application.Quit could cause an app to freeze if a script with OnAudioFilterRead was present in the Scene.
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.16f1
Resolution Note (fix version 2020.3):
Fixed a bug where an app could freeze when calling Application.Quit after using the OnAudioFilterRead callback.
Resolution Note (fix version 2019.4):
Fixed a bug where an app could freeze when calling Application.Quit after using the OnAudioFilterRead callback.