Search Issue Tracker

Fixed

Votes

2

Found in [Package]

Issue ID

1385133

Regression

Yes

[UI Builder] Hierarchy collapses when changes are saved

Package: UI Builder

-

How to reproduce:
1. Open the attached project "hierarchyRepro"
2. Open the UI Document "openMe" (Assets/openMe.uxml)
3. In the UI Builder Hierarchy, expand the hierarchy of "ScrollView"
4. From the Library window, drag and drop a VisualElement onto the Viewport
5. Save the changes (File > Save)

Expected result: The Hierarchy remains expanded
Actual result: The Hierarchy collapses

Reproducible with: 1.0.0-preview.17, 1.0.0-preview.18 (2019.4.33f1, 2020.3.24f1), Built-in (2021.2.5f1, 2022.1.0b1)
Not reproducible with: 0.5.7-preview, 1.0.0-preview.16 (2019.4.33f1, 2020.3.24f1)

Comments (2)

  1. moldo

    Aug 06, 2022 21:18

    Can confirm this issue still happens in 2021.3.7f1 as well. It only happens when an actual change has been made to the hierarchy, but it's 100%.

  2. Eugenii

    Jun 20, 2022 07:08

    The problem is still present in 2021.3.4f1. This is very annoying.
    The same problem occurs with the Hierarchy view of a loaded scene when you build a project through the File menu.

Add comment

Log in to post comment