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

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

Comments (8)

  1. A4e1cb4cc8de2063d37c139e8af18d18?d=mm

    amynox

    Nov 18, 2020 00:02

    We really need a fix for this ASAP !

  2. 89b37054dfd1cadbd17b6a4188b42ea4?d=mm

    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.

  3. A4e1cb4cc8de2063d37c139e8af18d18?d=mm

    amynox

    Oct 26, 2020 11:00

    Same issue here. Please fix this Unity.

  4. 68fee5fec1f70cc7b3b93735ea492ed4?d=mm

    potvinp

    Oct 21, 2020 19:13

    Same issue here. Please fix this Unity.

  5. 3ffa129bc48fff9d98e6a941f98336dc?d=mm

    tystevens2323

    Oct 21, 2020 19:11

    Suck my anus unity fix this!

  6. 259fd10ffc12f7ca1eb28bc98fc05ec9?d=mm

    marcrem

    Oct 21, 2020 18:31

    Same.

  7. 3ea8707c3fb662f4672017472f1692cf?d=mm

    MostHated

    Oct 19, 2020 19:33

    I am, unfortunately, having this issue, too.

  8. Ea11ccd9871a7b19730df6811b48b304?d=mm

    pokruchin

    Oct 19, 2020 18:52

    Agree, experiencing the same issue as well.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.