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
- Fix for 2022.3.X: Flickering of HDRP Directional Light shadows with DirectionalMixedCachedShadows when in an Entities Graphics rendered Subscene
- "Objects are trying to be loaded during a domain backup." errors on entering Playmode
- Transform Node does not have outputs when it is created
- Changing the Default Icon does not change the executable's icon when re-building the project
- Texture is stored upside down when using Blit
This is a duplicate of issue #882651