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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
This is a duplicate of issue #882651