Search Issue Tracker

Fixed

Votes

0

Found in

5.3.0a3

Issue ID

727677

Regression

No

2dRectMask creates a lot of GC Alloc (2.3kb) because of Canvas.SendWillRenderCanvases

UI

-

- open the attached project
- open the scene called garbage
- activate the profiler
- play the scene
- observe the GC Alloc for Canvas.SendWillRenderCanvases()
- uncheck the Garbage sprite to toggle it off

The GC Alloc is 0 when the garbage sprite is toggled off and 2.3 kb when it is toggled on.

Add comment

Log in to post comment