Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2018.4
2018.4.19f1
2019.3
2020.1
2020.2
Issue ID
1231797
Regression
No
isRootCanvas() method returns True and canvas is considered to be root canvas when the canvas is disabled in the Hierarchy
How to reproduce:
1. Open the attached 'project-1231797.zip' project
2. Enter Play mode
3. Observe the Console window
Expected result: Canvas 3 is not a root canvas
Actual result: Canvas 3 is a root canvas
Reproducible with: 2017.4.39f1, 2018.4.21f1, 2019.3.9f1, 2020.1.0b5, 2020.2.0a7
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Resolution Note (2020.2.X):
IsRootCanvas() returns true when it is disabled in the hierarchy window.