Search Issue Tracker

Active

Votes

0

Found in

2022.3.60f1

6000.0.42f1

6000.1.0b10

6000.2.0a6

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

Log in to post comment