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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
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.