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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
Add comment