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
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
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.