Search Issue Tracker
Fixed
Fixed in 6000.0.67f1, 6000.3.5f1, 6000.4.0b6, 6000.5.0a5
Votes
1
Found in
2022.3.61f1
6000.0.46f1
6000.1.0b14
6000.2.0a8
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-102412
Regression
No
[iOS] Error shows and "Microphone.GetPosition" logged as zero when "Microphone.Start()" is called the first time while a microphone is busy in another app and the second time when the microphone is released
How to reproduce:
1. Open the “MicrophoneIssue.zip“ project
2. Open the “SampeScene“
3. Build for iOS
4. Open the “Unity-iPhone.xcodeproj“ project in Xcode
5. Run the app on an iOS device
6. With a different app make the microphone busy (e.g. Google Meet)
7. Navigate back to the Unity app
8. Click on the “Start“ button and observe the Debug Console
9. Navigate to the app where the microphone is busy and release the microphone (e.g. End the call)
10. Navigate back to the Unity app
11. Click on the “Start“ button and observe the “Microphone Position:“ and “Microphone Recording: “ fields
Expected result: No errors and “Microphone Recording: “ reports “true“ and “Microphone Position:“ is a non-zero value
Actual result: Errors “Starting microphone failed: "An error occured trying to initialize the recording device.“ or “Starting microphone failed: "Error initializing output device. " thrown in the Debug Console and “Microphone Recording: “ reports “true“, but “Microphone Position:“ is equal to zero
Reproducible with: 2022.1.0b1 (4897ee769494), 2022.3.61f1, 6000.0.46f1, 6000.1.0b14, 6000.2.0a8
Reproducible environment: macOS 15.3.1 (M4 Max), macOS 15.3.2 (M3 Pro) (Reporters)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00535, iPhone XS (MT9F2ET/A), CPU: Apple A12 Bionic, GPU: Apple designed, OS: 17.6.1
VLNQA00416, iPhone 13 Pro (MLVA3ET/A), CPU: Apple A15 Bionic, GPU: Apple designed, OS: 16.1.1
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, GPU: Apple designed, OS: 18.3.1
VLNQA00232, iPhone 8 Plus (MQ8M2ET/A), CPU: Apple A11 Bionic, GPU: Apple designed, OS: 16.7.10
VLNQA00600, iPad Pro (9.7 inch, WiFi), CPU: Apple A9X, GPU: Apple designed, OS: 14.8
Not reproducible with these devices:
VLNQA00518, Google Pixel 4 (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Notes:
- The “Voice memo“ used to make the microphone busy does not reproduce the issue
- To get the “Microphone Position:“ to be reported as non-zero again, the app will have to be minimized and reopened from the app switcher, or the device should be put to sleep and woken again
- Does not reproduce in the Editor or macOS Standalone
Comments (2)
-
d2275858caa3
Feb 27, 2026 21:32
I found an issue regarding audio management on iOS. When the application goes into the background, Unity automatically pauses the game and resets the audio session (AVAudioSession).
This behavior causes voice calls to cut out, even when Apple Background Modes VoIP mode is enabled. As a result, real-time communication features no longer function when not in the foreground.
It would be beneficial to add an option to prevent Unity from automatically configuring AVAudioSession in order to:
prevent its automatic reset
maintain an active audio session in the background
ensure the continuity of voice (VoIP) communicationsThis would offer more flexibility to developers working on applications requiring persistent audio, particularly for voice chat systems.
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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note:
On iOS, fixed bugs related to both playback and recording failing in a Unity app, when another app is recording.
Resolution Note (fix version 6000.5.0a5):
On iOS, fixed bugs related to both playback and recording failing in a Unity app, when another app is recording.
Resolution Note (fix version 6000.4.0b6):
Fixed in 6000.4.0b6
Resolution Note (fix version 6000.3.5f1):
Fixed in 6000.3.5f1
Resolution Note (fix version 6000.0.67f1):
Fixed in 6000.0.67f1