Search Issue Tracker

Fixed

Fixed in 2020.3.38f1, 2021.3.9f1, 2022.1.16f1, 2022.2.0b8, 2023.1.0a5

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*))

  1. 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.

  2. Resolution Note (fix version 2022.2.0b8):

    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.

  3. Resolution Note (fix version 2022.1.16f1):

    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.

  4. Resolution Note (fix version 2021.3.9f1):

    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.

  5. Resolution Note (fix version 2020.3.38f1):

    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.

Comments (21)

  1. hendri_unity373

    Jul 04, 2022 12:33

    We are also having the same issue with Unity 2019 and 2018

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.