Search Issue Tracker
Fixed in 2022.2.14f1
Fixed in 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a9
Votes
8
Found in
2022.1.0b8
2022.2.0a5
2023.1.0a1
2023.2.0a1
Issue ID
UUM-3478
Regression
No
TreeView does not report correct state after reordering
Reproduction steps:
1. Open the user's attached project
2. Open Assets > Scene
3. Select "MyComponent" in the Hierarchy
4. In the Inspector drag and drop the item ID 200 at the root of the tree
Expected result: Console gets a message about updated tree
Actual result: Console gets a message about not yet updated tree
Reproduced with: 2022.1.0b8, 2022.2.0a5
Could not test with: 2019.4.36f1, 2020.3.29f1, 2021.2.12f1 (was unable to test it due to protection errors)
Comments (1)
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
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Catsoft-Works
Mar 27, 2022 18:11
I reported this bug. To solve the problem, we execute the following calls at the very top of the itemIndexChanged event callback:
this.m_TreeView.viewController.RebuildTree();
this.m_TreeView.RefreshItems();
In case it helps narrow down the problem or someone needs a work around.