Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.1.0p1
Issue ID
935341
Regression
No
RectMask2D forces a relayout all the time even if objects are not being marked as dirty
To reproduce:
1) Open attached project and the only scene inside of it
2) Play it
3) Open Profiler and select UI graph
4) Notice that Render and Layout times are roughly same and very low (so much that even an FPS counter is not shown, which caps at 10k)
5) Select Canvas -> ObjectWithRectMask in Hierarchy
6) Enable RectMask2D Component
7) Check the UI graph
Expected: Layout part of it doesn't grow too extreme and you save time as render calls are heavily reduced
Actual: Layout part increases very sharply (at least 10x)
Reproduced in 2017.1.0b1, 2017.1.0p1, 2017.3.0a2
There is no UI profiler graph in 5.6
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
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
- Visual Effects Graph Blackboard can't be scrolled horizontally
haolly
Aug 02, 2018 04:53
Which version is the bug fixed ?