Search Issue Tracker
Fixed in 2022.3.55f1
Fixed in 2022.3.X, 6000.0.X, 6000.1.X, 6000.1.0a7, future release
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
- Line Brush blue outline appears at incorrect position when painting start of line in Tile Palette
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
Resolution Note (fix version 2022.3.55f1):
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):
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):
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#.