Search Issue Tracker
Fixed
Fixed in 6000.0.53f1, 6000.1.11f1, 6000.2.0b9, 6000.3.0a1
Votes
0
Found in
2022.3.60f1
6000.0.42f1
6000.1.0b10
6000.2.0a6
6000.3.0a1
Issue ID
UUM-100966
Regression
No
Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
How to reproduce:
1. Open the project “IN-95467_My project”
2. Open Window → Analysis → Profiler
3. Run the build: File → Build Profiles → tick Autoconnect Profiler
4. In Build Profiles click the Build button
5. Run the Build
6. In the Profiler make sure the record button is red (recording)
7. In the running Build click the button “InitiateTest”
8. As soon as the terrain is loaded in the Build click the record button
9. Observe the CPU usage in the Profiler
Expected result: No big CPU spike, Loading.AwakeFromLoad runs without locking the main Persistant Manager
Actual result: Big CPU spike and stalling main thread with Loading.AwakeFromLoad and Loading.LockPesistentManager
Reproducible with: 2022.3.60f1, 6000.0.42f1, 6000.1.0b10, 6000.2.0a6
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note:
* In the 2022.3 stream the button in step “6.” “InitiateTest” has no visible text, clicking the white part still works
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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Resolution Note (fix version 6000.3.0a1):
Fixed an issue that would cause the main thread to stall when loading projects/scenes.