Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Votes
3
Found in
2020.1.0a14
2020.3
2020.3.11f1
2021.1
2021.2
Issue ID
1343935
Regression
Yes
Memory gets allocated for GC each frame when using PrefabStageUtility.GetPrefabStage
How to reproduce:
1. Open the user's attached project
2. Open the SampleScene
3. Enter the Play mode
4. In the top-bar menu select Window > Analysis > Profiler
5. Observe the GC Alloc value of the PlayerLoop in the Hierarchy of the Profiler window
Expected result: The GC Alloc is 0 B
Actual result: The GC Alloc is not 0 B
Reproducible with: 2020.1.0a14, 2020.1.17f1, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1
Not reproducible with: 2018.4.36f1, 2019.4.28f1, 2020.1.0a13
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
- "Assertion failed on expression" errors appear when selecting specific Tile Palette GameObjects
- “CommandBuffer: built-in render texture type 3 not found while executing” warning is displayed in URP project
- Player build logs a "material with shader doesn't have a '_MainTex' property" error when instantiating a specific amount of specific prefabs
- The LayerMask parameter is ignored when using Physics2D.GetRayIntersection method
- The Tilemap GameObject causes other Tilemap GameObjects to become invisible when its “Mask Interaction” is set to “Visible Inside Mask”
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a2
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.17f1
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.27f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.32f1