Search Issue Tracker
Fixed
Fixed in 2022.3.18f1, 2023.2.6f1, 2023.3.0b1
Votes
0
Found in
2022.3.10f1
2023.1.16f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52194
Regression
Yes
Performance degrades and FPS decreases when adding a lot of inactive AudioSources to a Scene with Audibility Computation taking 11ms
Steps to reproduce:
1. Open the attached user's project "1657950_Gavin.zip"
2. Open "SampleScene.unity" and enter Play Mode with Game View Stats turned on
3. Observe in the Profiler CPU Module and Audio Module
Expected results: No performance hit and fps does not decrease when adding more inactive Audio Sources to the Scene
Actual results: Performance degrades and FPS decreases when adding a lot of inactive AudioSources to a Scene (See attached Results.png)
Reproducible with: 2022.1.0a3, 2022.3.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Not reproducible with: 2021.3.31f1, 2022.1.0a2
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes:
-"Audibility computation fwd" and "Audibility computation clear" both take around ~6ms
-There are only 5 active AudioSources active in the Scene and 1500 inactive
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 2023.3.0b1):
Fixed performance bottleneck in audibility calculations.
Resolution Note (fix version 2023.2.6f1):
Fixed a performance issue that would occur when having many inactive audio sources in a scene.