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
Comments (1)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
haolly
Aug 02, 2018 04:53
Which version is the bug fixed ?