Search Issue Tracker

Fixed

Fixed in 2021.3.21f1, 2022.2.10f1, 2023.1.0a5

Votes

2

Found in

2021.1.0a1

2021.1.28f1

2021.2.7f1

2021.3.16f1

2022.1.0b2

2023.1.0a1

Issue ID

UUM-1897

Regression

Yes

UI Element is sorted behind the parent Canvas when the UI Element is created in Prefab Mode and has a Canvas component attached

-

How to reproduce:
1. Open the user-submitted project
2. In the project window, open the Prefab "Canvas" (Assets/Canvas.prefab)
3. In the Hierarchy window, right-click the GameObject "Button" and select "Duplicate"
4. In the Prefab Mode Scene view, observe the duplicated GameObject

Expected result: The duplicated GameObject is visible
Actual result: The duplicated GameObject is not visible

Reproducible with: 2021.1.0a1, 2021.1.28f1, 2021.2.7f1, 2022.1.0b2
Not reproducible with: 2019.4.34f1, 2020.3.25f1

  1. Resolution Note (fix version 2023.1.0a5):

    Fixed applied in UUM-6133 addressed this bug as well.

  2. Resolution Note (fix version 2022.2.10f1):

    Fixed the prefab mode sorting when a canvas component is being added to an UI component.

  3. Resolution Note (fix version 2021.3.21f1):

    Fixed the prefab mode sorting when a canvas component is being added to an UI component.

Comments (2)

  1. FreddyC-Unity

    Aug 04, 2022 17:38

    Yes, it is intended to land on that version. Hope this helps.

  2. AtticGamesStudio

    Jul 25, 2022 00:13

    Will the planned fix be avaliable for 2021.3.X as well?

Add comment

Log in to post comment