Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.2f1
2019.1.0a1
2019.2.0a1
Issue ID
1145190
Regression
No
Sub-canvases with "Override Sorting" enabled are not hidden when parent Canvas component is disabled
How to reproduce:
1. Open attached project "nested-canvas-render-incorrectly.zip" and scene "test-subcanvas"
2. In the Hierarchy window, select "GameObject" object
3. In the Inspector window, make sure that "Override Sorting" is enabled
4. In the Hierarchy window, select "Canvas" object
5. In the Inspector window, disable component "Canvas"
6. Observe Game view
Expected result: both white and red cubes disappears
Actual result: only the parent - white cube disappears
Reproducible with: 2017.4.24f1, 2018.3.13f1, 2019.1.0f2, 2019.2.0a11
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2019.3.X):
When a subcanvas is override sorting its treated as a root canvas. Thus ignores all properties of parent canvas's other then positioning.