Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.2f1
2023.1.0a25
Issue ID
UUM-23091
Regression
Yes
ListView generates VisualElement elements when reordering VisualElement elements
Reproduction steps:
1. Open the attached “BugRepro” project
2. Click Window > UI Toolkit > Debugger
3. Enter the Play Mode
4. In the UI Toolkit Debugger window, click “Pick Element”
5. In the Game View, click “2” VisualElement
6. In the UI Toolkit Debugger window, observe the number of VisualElement elements with “#unity-list-view__reorderable-item” id
7. In the Game View, click and drag “2” VisualElement to “1” VisualElement
8. In the UI Toolkit Debugger window, observe the number of VisualElement elements with “#unity-list-view__reorderable-item” id
Expected result: The number of VisualElement elements with “#unity-list-view__reorderable-item” id is 2
Actual result: The number of VisualElement elements with “#unity-list-view__reorderable-item” id is larger than 2
Reproducible with: 2022.2.0b8, 2022.2.2f1, 2023.1.0a5, 2023.1.0a25
Not reproducible with: 2021.3.16f1, 2022.2.0b7, 2023.1.0a1, 2023.1.0a4
Couldn’t test with: 2020.4.44f1 (Project scripts use features not supported in this version)
Reproducible on: Windows 11 Pro 22H2
Note: Reimport project on every Unity Version
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
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Resolution Note:
A recent fix was implemented and is available in the latest version of Unity (2023). It was also backported to 2022.2. Verified on said versions prior to closing this ticket.