Search Issue Tracker
Fixed
Fixed in 2020.3.38f1, 2021.3.9f1, 2022.1.16f1, 2022.2.0b8, 2023.1.0a5
Votes
3
Found in
2020.3.35f1
Issue ID
UUM-5652
Regression
No
[Android] Resume causes GetAudioStreamVolume JNI exception
On Android, when resuming a Unity app, either after backgrounding the app or locking the phone, a GetAudioStreamVolume JNI exception message appears in the adb log output. This doesn't appear to cause a functional problem in internal testing, but could be related to recent reports of issues when coming out of long pauses on Android 12.
The problem only appears when the Target API Level is Android 10.0 or later.
Comments (3)
-
celinedioncdc
Aug 15, 2023 09:15
Unity's compatibility with these changes might be a factor in the issue.
-
emiliacarter9744
Apr 23, 2023 21:07
As an avid reader and a lover of fiction, I was truly impressed with the talent and skill showcased by the fiction writer featured on skillhub.com The way they weaved words and crafted engaging stories was truly captivating. Their ability to create vivid imagery and evoke emotions through their writing was simply remarkable. I was particularly drawn to their unique storytelling style and their ability to create multidimensional characters that felt incredibly real. It's evident that this fiction writer is not only proficient in their craft but also deeply passionate about storytelling.
-
YaroslavSm
Jan 15, 2023 10:09
How do you keep getting this error over and over again? From 2020 to 2023...
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
- Editor Menus text doesn’t update when Switching Editor language back to English
- "Atlas uncompressed. This can be caused by mismatch texture formats." is thrown when Paint Details is selected
- [Linux] Crash on g_type_check_instance_cast when creating a project
- Mouse events are ignored when holding another button down in the Play Mode
- Prefab children's Transform properties are not properly restored when redoing actions with Animation Preview turned on
Resolution Note (fix version 2023.1.0a5):
Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled.
Resolution Note (fix version 2022.2.0b8):
Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled.
Resolution Note (fix version 2022.1.16f1):
Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled.
Resolution Note (fix version 2021.3.9f1):
Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled.
Resolution Note (fix version 2020.3.38f1):
Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled.