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
- Saving moves Toggle Button Group buttons to the wrong place in hierarchy
- [iOS] Visual artifacts are visible when the camera's feed is rendered to a texture
- Error "cannot map expression to ps_4_0 instruction set" in Shader Graph preview when using the GATHER_RED_TEXTURE2D macro in custom hlsl function
- Sprite Renderer image is changed when Mask Interaction is turned by C# script
- URP Player remains in Windows Background processes when the application is closed
Resolution Note (2020.2.X):
IsRootCanvas() returns true when it is disabled in the hierarchy window.