Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.3.X, 2022.1.X

Votes

9

Found in

2019.4

2020.3

2021.2

2021.2.5f1

2022.1

2022.2

Issue ID

1387403

Regression

No

Sound is playing through the ear speaker if using "Force iOS Speakers when Recording" when "Prepare iOS for Recording" is on

iOS

-

How to reproduce:
1. Open the project "iOSSpeakers.zip"
2. Go to the Build Settings and build for the iOS
3. In the iOS device connect Bluetooth headphones
4. Deploy the app to the device
5. Open the app and listen

Expected result: Sound is playing through the headphones
Actual result: Sound is playing through the ear speaker

Reproducible with: 2019.4.36f1, 2020.3.27f1, 2021.2.10f1, 2022.1.0b5, 2022.2.0a3

Reproduced with:
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS

Note: Not reproducible if disabling the "Prepare iOS for Recording" setting

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a17

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.13f1

  3. Resolution Note (fix version 2021.3):

    On iOS, fixed a bug with the "Force iOS Speakers when Recording" player setting. In addition, a few other iOS Bluetooth audio bugs were fixed. When starting up with Bluetooth headphones connected, audio output used to play through the built-in speakers (which was an error). The list of available microphones was not always correct when connecting / dis-connecting Bluetooth headphones at runtime. Bluetooth microphone input was really choppy.

  4. Resolution Note (fix version 2020.3):

    On iOS, fixed a bug with the "Force iOS Speakers when Recording" player setting. In addition, a few other iOS Bluetooth audio bugs were fixed. When starting up with Bluetooth headphones connected, audio output used to play through the built-in speakers (which was an error). The list of available microphones was not always correct when connecting / dis-connecting Bluetooth headphones at runtime. Bluetooth microphone input was really choppy.

  5. Resolution Note (fix version 2019.4):

    On iOS, fixed a bug with the "Force iOS Speakers when Recording" player setting. In addition, a few other iOS Bluetooth audio bugs were fixed. When starting up with Bluetooth headphones connected, audio output used to play through the built-in speakers (which was an error). The list of available microphones was not always correct when connecting / dis-connecting Bluetooth headphones at runtime. Bluetooth microphone input was really choppy.

Comments (9)

  1. AirUnity02

    Oct 12, 2022 11:18

    I think the issue is still existing while using a wired headphones, but slightly different.
    All game sounds output to internal speaker even if microphone is not recording.

    Unity Version :
    2021.3.9f1
    Testing devices :
    iPhone X/11/13

  2. michaelberg

    Aug 13, 2022 21:00

    There seems to be something wrong with our tooling sometimes that is matching changesets to Unity releases. I'm sorry for the confusion this is causing.

    It looks like these fixes are actually in 2020.3.38f1 (which is not out yet) and 2021.3.8f1 (which is out).

  3. adammmckee

    Aug 07, 2022 22:57

    This issue still persists in 2021.3.5f1.

  4. steampunkdigital

    Jul 29, 2022 08:38

    This issue is NOT RESOLVED as of Unity 2020.3.37f1

  5. marnsmith

    Jul 28, 2022 03:49

    I just tried this with 2020.3.37f1 too, it's still broken. We're using 2020.3.18f1 where the issue isn't present yet.

  6. kolmichcreations

    Jul 25, 2022 06:35

    OK, i just did a cloudbuild with Unity 2020.3.37f1 and Unity 2021.1.28f1 with "FORCE IOS SPEAKERS WHEN RECORDING" and "PREPARE IOS FOR RECORDING" enabled. In both cases i only get sound through the ear speaker. (I do not have any headphones connected)

    This bug is preventing me from releasing a finished project on ios. Can anybody tell me please a unity version where this is fixed?

    Thank you very much!!

  7. phpnato

    May 19, 2022 15:04

    We're having the same problem. the audio playing through the ear speaker instead of loudspeaker. We tested and the problem occurs on iPhone 11, 12 and 13. Strangely the problem does not occur on an iPad mini 4 with the same version of iOS 15.4.1

  8. Edgar_dev

    Mar 03, 2022 16:43

    Probably related, I have a very similar issue on 2020.3.x with the audio playing through the ear speaker instead of loudspeaker, when "FORCE IOS SPEAKERS WHEN RECORDING" and "PREPARE IOS FOR RECORDING" are on.

    I tested every 2020.3.x versions and the problem started to occur on 2020.3.19f1 precisely. Up to 2020.3.18f1 it works as expected, so for now is just rolled back to this version.

  9. marnsmith

    Feb 02, 2022 22:43

    Please note this is a regression, was working properly in 2020.3, and affects all audio output (including main speaker), not just bluetooth or other headphones.

    See issue https://issuetracker.unity3d.com/issues/mobile-microphone-dot-start-method-invocation-causes-200-800ms-spikes?_ga=2.53276266.332498818.1639069936-923813927.1636596039
    And see resolution note for 2021.2.0a6 which may be related

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.