Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Official iOS 17: crashing or hanging application when using Bluetooth with Microphone.Start

Discussion in 'Audio & Video' started by KalUnity3D, Oct 17, 2023.

  1. KalUnity3D

    KalUnity3D

    Unity Technologies

    Joined:
    Jul 17, 2020
    Posts:
    17
    Hi all,

    We’ve recently been made aware of an issue regarding iOS17 apps and the use of Bluetooth-connected audio devices.

    Issue
    Applications that run on iOS17 may crash or hang when the applications attempt to use Microphone.Start. This does not happen on iOS16 from our reports. This occurs when the application has “Prepare iOS for Recording” player setting disabled.
    upload_2023-10-17_17-11-11.png


    Workaround
    It appears you can work around the issue by making sure to check "Prepare iOS For Recording".

    We are still working on fully understanding how to fix the issue and the full scope of the problem, but this is a reasonable workaround for now.

    Fix and timeframes
    We’re working on this as a priority but for now cannot provide a specific timeframe.

    Suggested next steps
    Please use the suggested workaround for now for iOS17 users if your application is time-critical - test your application to ensure there are no adverse effects from using the workaround.

    You can track the public issue here and plan for when to move off the workaround:
    https://issuetracker.unity3d.com/is...tart-hangs-on-ios-17-under-certain-conditions

    Thanks,
    - Kal
     
    Last edited: Oct 23, 2023
    NORCAT_Dev01 likes this.
  2. Jerkins

    Jerkins

    Joined:
    Jul 15, 2016
    Posts:
    7
    Pressing the corresponding function will make the sound smaller (coming from the handset).
    If you call the IOS function to force it to change to the speaker, the background music (music player) will stop.
    Hope this is fixed.