Search Issue Tracker

Fixed in Unity 5.4.0

Votes

0

Found in

5.4.0b13

Issue ID

787195

Regression

Yes

When the parent object uses a Mask, the child canvas disappears completely when it overrides the sorting order

UI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

How to reproduce:
1. Open the attached project
2. Open "Masked Inner Canvas" scene
3. Expand Canvas>Mask Panel and select Inner Canvas
4. Enable "Override Sorting" and notice that Inner Canvas text completely disappears
5. Enter play mode and observe how the left nested canvas changes, when it is set to override the sorting order
6. Exit play mode and observe that its visual change persists

Note: In contrast, when the masking parent uses a Rect Mask 2D, the inner canvas is always masked. It doesn't matter whether it overrides the sorting order or not. The expected behavior is for the child canvas to no longer be masked

Not reproducible: 5.3.4p3

All about bugs

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