Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.5.0f3
Issue ID
863271
Regression
Yes
Unity crashes when changing RectTransform values after deleting a Canvas that has a child Canvas at GetRootWorldToLocalMatrix
Steps to reproduce:
1. Open the attached project (Crash on RectTransform delete.zip)
2. Open the Assets/Scene.unity scene
3. Select "Canvas 1" and delete components GraphicRaycaster, CanvasScaler and then Canvas
4. Select "Canvas 2" and notice that the Canvas component still says "Non-root Canvases will not be scaled." (but it is the root canvas now)
5. On "Canvas 1", try changing a value on the RectTransform, or deleting the component
6. Observe the crash
Expected result: Editor should not crash
Actual result: Editor crashes
Reproduced with: 5.4.3p3, 5.4.3p4, 5.5.0f3, 5.5.0p3, 5.6.0b2
Not reproduced with: 5.3.7p3, 5.4.2p3
Regression introduced in 5.4.3p3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Add comment