Search Issue Tracker
Fix In Review
Duplicate in 2019.4, 2020.1, 2020.2
Planned for 2021.1
Votes
64
Found in
2019.3.15f1
2019.4
2021.1
Issue ID
1276854
Regression
No
CPU usage spikes in the Loading.LockPersistentManager when async loading/unloading Scenes with Terrain
How to reproduce:
1. Open the attached "ReproProject.zip" project
2. Open the "Game Streamer Scene" Scene (Assets/NatureManufacture Assets/WorldStreamer/Tutorial Work and Game Scenes)
3. Make sure the Profiler window is opened (Window -> Analysis -> Profiler)
4. Enter Play Mode
5. Move the Camera in the Game view with WASD keys while holding the shift key on the keyboard
6. Press the Pause button when huge CPU usage spikes in the Profiler window are visible
7. Observe the Profiler's Overview section of the spikes
Expected result: No CPU usage spikes are in the Loading.LockPersistentManager in the Profiler's Overview section
Actual result: A huge CPU usage spike in the Loading.LockPersistentManager (Around 60 % usage can be seen in the Profiler's Overview section)
Reproducible with: 2019.4.13f1, 2020.1.10f1, 2020.2.0b8, 2021.1.0a1
Could not test with: 2018.4.28f1 (Due to errors with missing functionality)
Note:
- In 2020.2.0b8, 2021.1.0a1 CPU usage spikes are instead from "LogStringToConsole" and the whole Scene freezes for 1-2 seconds when moving around it, but the CPU usage spikes are still coming from Camera's Culling
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
- [Search] Index Manager: Empty item in Include or Exclude list will be taken in count
- [Search] Index Manager folder browse button is limited to Asset folder
- [Search] User Created Indices disappear from manager list if disabled
- [macOS] Crash on GC_mark_from when trashed GC objects are used by Burst
- Shadows are not casted when you first Blit the Shadow map and then set it back to Buffer
amynox
Nov 18, 2020 00:02
We really need a fix for this ASAP !
Ryan-Hayle
Nov 07, 2020 22:36
You have stated that the above issue was fixed in Unity 2019.4.14f1, however it is still broken. Please reopen and fix ASAP.
amynox
Oct 26, 2020 11:00
Same issue here. Please fix this Unity.
potvinp
Oct 21, 2020 19:13
Same issue here. Please fix this Unity.
tystevens2323
Oct 21, 2020 19:11
Suck my anus unity fix this!
marcrem
Oct 21, 2020 18:31
Same.
MostHated
Oct 19, 2020 19:33
I am, unfortunately, having this issue, too.
pokruchin
Oct 19, 2020 18:52
Agree, experiencing the same issue as well.