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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (2020.2.X):
IsRootCanvas() returns true when it is disabled in the hierarchy window.