Search Issue Tracker

Fixed in 4.6.X

Votes

4

Found in

4.6.0b18

Issue ID

630847

Regression

No

uGUI allocates memory on each frame in 2 places

UI

-

uGUI seems to allocate memory each frame for Canvas.SendWillRenderCanvases() and EventSystem.Update()

To reproduce:
1. Create a new project
2. Add a canvas
3. Add a panel to the canvas
4. Enter play mode and open up profiler. Inspect the cpu usage and select either "EventSystem.Update()" or "Canvas.SendWillRenderCanvases()"
5. Notice that the GC allocation in the profiler - 52 and 100 bytes are being allocated each frame

Add comment

Log in to post comment