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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.