Search Issue Tracker
Fixed
Fixed in 6000.0.63f1, 6000.2.14f1, 6000.3.1f1, 6000.4.0a6, 6000.5.0a2
Votes
0
Found in
6000.0.43f1
6000.1.0b11
6000.2.0a7
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-100335
Regression
No
An error is thrown when one TreeView root element is dragged and held over a parent element but is dropped between the elements
How to reproduce:
1. Open the “TreeViewBug.zip“ project
2. Open the “Editor“ Scene
3. Enter Play Mode
4. To the left of the Game view, in the TreeView Hierarchy, drag the “GameCamera“ element over the “Cube(Clone)“ element (until it expands)
5. Drop the held element between the two Hierarchy elements
6. Observe the Console
Expected result: No error is thrown
Actual result: An “InvalidOperationException“ error is thrown
Reproducible in: 2023.3.0a19, 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Could not test in: 2022.1.0a1, 2022.3.60f1, 2023.3.0a2 (Unsolvable Git package dependency issues)
Reproduced on: Windows 11 Pro (24H2), macOS 15.3.1 (M1)
Not reproduced on: No other environment tested
Notes:
- Reproducible in the Player
- This does not happen in the Editor’s Hierarchy
- Part of the error reads:
“InvalidOperationException: HierarchyFlattened was modified.
UnityEngine.UIElements.BaseTreeViewController+<GetAllItemIds>d__23.MoveNext () (at <e3bfbd1d38e94b5b8af57db71bd4720f>:0)“
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
Add comment