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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
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.