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

uGUI

-

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

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.