Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2
2021.2.0f1
Issue ID
1377116
Regression
No
PhysicsShapeGroup2D String.Format GC allocation
How to reproduce:
1. Open the attached project ("case_1377116.zip")
2. Load the "SampleScene" an ensure the Profiler is open. Hit Play (2000 Circles per-frame are created)
3. Select a sample in the CPU Usage Area.
4. Note that in the hierarchy area, "PlayerLoop > Update.ScriptRunBehaviourUpdate > BehaviourUpdate > ShapeFactory.Update > GC.Alloc" allocates memory.
Expected result: There is no GC allocation.
Actual result: GC Allocation is non-zero (approximately 109.4KB).
Reproducible with: 2021.2, 2022.1.0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- An image bleeds out of the borders of a Mask when the project is opened with the iOS Build Support module
- Shadows do not appear on the Material with a custom shader which uses screen space shadow map in HDRP when Ray Traced Shadows are enabled
- An emoji is not shown in the UI Builder Viewport and the Game view when it is placed in the Labels text attribute and Usage Hints is set to Dynamic Color
- The Sprite Renderers are looking for Secondary Textures from the wrong page within the Sprite Atlas when the Sprite Atlas has a large amount of textures for packing
- [URP] Invalid update of shader stripping settings
Add comment