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
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
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