Search Issue Tracker
Fixed
Votes
2
Found in [Package]
Issue ID
1385133
Regression
Yes
[UI Builder] Hierarchy collapses when changes are saved
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)
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
- Disabled Shadow Variants are removed from the Player when 'Strip Unused Variants" is disabled and no URP Asset with Disabled Shadows is in Build
- Graphics.RenderMeshIndirect does not issue multi-draw rendering commands when using a graphics API capable of multi-draw commands
- Error "InvalidOperationException: An error occured while deserializing asset reference" is thrown when deserializing a BlackboardVariable that is a dynamically loaded monobehavior
- Removing a Camera Component from a Physics 2D Raycaster GameObject brings pop-up message twice
- UnityYAMLMerge does not open fallback merge tool when encountering merge conflicts
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%.
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.