Search Issue Tracker
Duplicate
Votes
2
Found in
5.5.1p1
Issue ID
881988
Regression
Yes
Canvas causes performance issues after changing its size
Reproduction steps:
1. Create a new Unity scene.
2. Create a new canvas and a UI element (example, a button)
3. Select the button, and using the rect tool, drag the resize handle on
the canvas to preview different canvas sizes.
4. Release the canvas, letting it snap back to its original position.
5. Select button and move mouse in scene.
Expected result: Nothing happens.
Actual result: Message "Look rotation viewing vector is zero" appears, huge performance loss (CPU usage increases) when button is selected, Canvas frame disappear.
Note: This problem affects every object that selected canvas has.
Profile shows that this problem is caused by "DockArea,OnGUI()"
Reproduced on: 5.5.0b7, 5.5.1p4, 5.6.0b9.
Works fine in: 5.4.4f1.
Regression introduced in 5.5.
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
This is a duplicate of issue #882651