Search Issue Tracker
Fixed
Fixed in 2022.3.55f1, 6000.0.31f1, 6000.1.0a7, 7000.0.0a26
Votes
1
Found in
2022.3.38f1
6000.0.10f1
6000.1.0a3
Issue ID
UUM-75603
Regression
No
The Player lags when an audio device is connected/disconnected while the default audio source of the device stays the same
How to reproduce:
1. Open the “IN-80071_repro“ project
2. Connect an Xbox controller
3. Navigate to FIle → Build and Run
4. Plug in wired headphones to the controller
5. Wait a few seconds and unplug the headphones
6. Repeat the steps 4 and 5 multiple times and observe the Player
Expected result: The Player runs smoothly
Actual result: The Player lags sometimes
Reproducible with: 2021.3.40f1, 2022.3.38f1, 6000.0.10f1
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes:
- Make sure to disconnect and reconnect the controller every time before building
- Make sure the default audio source of the device is not the controller and stays the same throughout
- Make sure FMOD Studio project is selected in the FMOD wizard
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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
Resolution Note:
The submitted issue uses a 3rd party FMOD. Best to contact that vendor so they can fix it on their end.
If developer just disables "Unity Audio" in the player settings, that will eliminate any issues from the Unity Audio side.
Resolution Note (fix version 6000.1.0a7):
On Windows, we reduced how often we re-enumerate the list of audio devices, which causes a main thread stall. If an audio output device is added or removed, but the default device does not change, then we no longer re-enumerate. If an audio input device is added or removed, we defer the re-enumerate operation until the Unity app actually requests the updated list of microphones via C#.