Search Issue Tracker
Fixed in 2021.2.X
Votes
1
Found in
2018.4
2018.4.19f1
2019.4
2020.2
2021.1
2021.2
Issue ID
1311169
Regression
No
The Sorting Layer property is displayed for the nested Canvas when the Canvas component is disabled
How to reproduce:
1. Open the attached '1311169.zip' project
2. Open 'SampleScene'
3. In the Hierarchy select Canvas > Test
4. In the Inspector observe the Canvas component
Expected result: The Sorting Layer property is not displayed
Actual result: The Sorting Layer property is displayed
Reproducible with: 2018.4.31f1, 2019.4.20f1, 2020.2.3f1, 2021.1.0b6, 2021.2.0a4
Notes:
- The property is not displayed when the component is enabled
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
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
- UI Mask Component does not apply correctly when Canvas Render Mode is set to Screen Space - Camera
Resolution Note (fix version 2021.2):
Canvas inspector would update incorrectly as the renderMode is based on the parentCanvas which is null when a Canvas is disabled. This lead to the inspector rendering the wrong options
Fixed in 2021.2.0a11