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
- Memory is allocated but nothing happens when duplicating Values with the duplication shortcut in the Inspector
- Frame rate becomes lower after turning vertical sync on and off when in the Player on macOS
- Memory Profiler fails to enumerate a specific Heap Segment
- Performance gets worse when updating the Material of Tilemap
- Script causes Console error "Reading pixels out of bounds of the current active render texture" when entering the Play mode on a HDRP project
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