Search Issue Tracker

By Design



Found in







Issue ID




[Android] AudioClip stops playing when connecting the Bluetooth earbuds/earphones



Reproduction steps:
1. Open the user's attached "New Unity" project
2. Build and Run on Android
3. Hear that the "0-ambient.mp3" AudioClip starts playing
4. Connect Bluetooth earbuds/earphones to the device

Expected result: AudioClip keeps playing
Actual result: AudioClip stops playing

Reproducible with: 2019.4.38f1, 2020.3.34f1, 2021.3.1f1, 2022.1.0f1, 2022.2.a11

Reproducible with these devices:
VLNQA00468 - Huawei - (ELS-NX9), Android 10, CPU: HiSilicon Kirin 990 5G, GPU: Mali-G76
VLNQA00407 - Samsung Galaxy Z Flip3 5G (SM-F711B), Android 11, CPU: Snapdragon 888, GPU: Adreno (TM) 660
VLNQA00264 - Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76

Not reproducible with these devices:
VLNQA00110 - Samsung Galaxy Note2 (GT-N7100), Android 4.4.2, CPU: Exynos 4 Quad 4412, GPU: Mali-400 MP
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
iPhone 13 mini (iOS 15)
iPad 6th generation (iOS 14.4.2)

Not reproducible with: PC, Mac & Linux Standalone

Note: AudioClip doesn't play even after disconnecting the Bluetooth device

  1. Resolution Note:

    This has unfortunately always been the case with Unity Audio on certain platforms, like Android. When we connect or dis-connect Bluetooth headphones, the default output device changes and we currently have to re-init our audio engine, which causes all currently-playing audio state to be lost. We are working towards eliminating the scenarios where this happens, but we are not there yet. For now, you'll need to detect when this happens via the AudioSettings.OnAudioConfigurationChanged callback, and re-start any important background music and/or looping sounds that were playing before the configuration change.

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.