Search Issue Tracker
By Design
Votes
0
Found in
2021.3.36f1
2022.3.22f1
2023.2.15f1
6000.0.0b12
Issue ID
UUM-66806
Regression
No
Spike in GarbageCollector when entering Play Mode
How to reproduce:
1. Open the attached project "HDRPLagTest20.zip"
2. Open Window>Analysis>Profiler
3. Enter Play Mode
4. Observe the GarbageCollector in the Profiler window
Expected results: There is no spike in GarbageCollector
Actual results: There is a spike in GarbageCollector
Reproducible with: 2021.3.36f1, 2022.3.22f1, 2023.2.15f1, 6000.0.0b12
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note:
The incremental GC makes a number of attempts at performing the collection within the specified time slice, but will eventually fallback to complete a full collection which may take more time.
Also, the issue pertains to the Editor which has additional managed memory size and allocation overhead. This will both increase the time and frequency of garbage collections.