Search Issue Tracker
Fixed in 2021.3.9f1
Fixed in 2020.3.X, 2020.3.38f1, 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X
Votes
33
Found in
2020.3.33f1
Issue ID
UUM-7051
Regression
No
Android Player crashing in FMOD when targetting SDK Level 31
There are no steps for bug reproduction
Reproducible with: 2020.3.33f1
Notes:
- 3 fixes, which potentially can fix this issue, are being made to audio that were causing crashes
Backtrace:
#00 pc 000000000004fbcc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
#00 pc 00000000006d157c /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const)+668)
#00 pc 000000000001695c /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const)>&&)::$_3::__invoke(char const)+76)
#00 pc 0000000000015f8c /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+364)
#00 pc 00000000002926b0 /apex/com.android.art/lib64/libart.so (art::Thread::AssertNoPendingException() const+1536)
#00 pc 000000000028ea68 /apex/com.android.art/lib64/libart.so (art::ClassLinker::FindClass(art::Thread, char const, art::Handle<art::mirror::ClassLoader>)+64)
#00 pc 00000000005951d0 /apex/com.android.art/lib64/libart.so (art::JNI<false>::FindClass(_JNIEnv, char const)+816)
#00 pc 000000000016bbcc /system/lib64/libandroid_runtime.so (android_media_AudioSystem_error_callback(int)+52)
#00 pc 000000000005b104 /system/lib64/libaudioclient.so (android::AudioSystem::get_audio_flinger() (.cfi)+1740)
#00 pc 000000000007f630 /system/lib64/libaudioclient.so (android::AudioTrack::createTrack_l()+64)
#00 pc 00000000000849d4 /system/lib64/libaudioclient.so (android::AudioTrack::restoreTrack_l(char const)+780)
#00 pc 0000000000087f38 /system/lib64/libaudioclient.so (android::AudioTrack::getTimestamp_l(android::ExtendedTimestamp)+84)
#00 pc 0000000000086d70 /system/lib64/libaudioclient.so (android::AudioTrack::start()+380)
#00 pc 0000000000018f3c /system/lib64/libwilhelm.so (object_unlock_exclusive_attributes_(Object_interface, unsigned int, char const, int)+464)
#00 pc 000000000003401c /system/lib64/libwilhelm.so (IPlay_SetPlayState(SLPlayItf_ const const, unsigned int)+116)
#00 pc 00000000009d662c /data/app/~~T4t95Pns5eLNsd9-RX6vWQ==/com.scopely.wheeloffortune-fAQKedd11O6QRZKa9oXx5Q==/lib/arm64/libunity.so (FMOD::OutputOpenSL::startCallback(FMOD_OUTPUT_STATE))
Comments (21)
-
hendri_unity373
Jul 04, 2022 12:33
We are also having the same issue with Unity 2019 and 2018
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
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
Resolution Note (fix version 2023.1):
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):
Android: 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):
Android: 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):
Android: 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):
Android: 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.