Search Issue Tracker
Fixed in preview.7 - 2.0.0
Votes
0
Found in [Package]
preview.5 - 2.0.0
Issue ID
1146747
Regression
No
[SpriteShape] SprieShapeController.OnWillRenderObject() generates large GC Allocations every frame
How to reproduce:
1. Open the user's attached project ('SpriteShapeDepthBufferReport.zip')
2. Open Profiler window and go to Memory module
3. Enter play mode
-- Observe that under PlayerLoop -> Camera.Render -> Culling -> SceneCulling -> CullSendEvents -> SpriteShapeController.OnWillRenderObject() -> GC.Alloc there is always 3.6 KB of allocated memory (1.2KB for each Spirte Shape Controller in this specific project)
Reproducible with: 2019.1.1f1 + 2D SpriteShape preview.5 - 2.0.0 and 2018.3.14f1 + 2D SpriteShape 1.0.14-preview.2
Could not test with 2019.2+ because the package has no prepared version for later versions.
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
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
SV_Tech
Jul 15, 2020 13:41
Still an issue in 3.0.12
hadarhadar
Sep 01, 2019 16:38
This is still an issue in version preview.9 - 2.0.0
I don't know why it says "Fixed"