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
- “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
Add comment