Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
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
- Clicking on the project's title does not open the project when the long path tooltip is shown
- [Linux] "Select Preset..." window closes without creating another preset when "Create New Preset..." is double-clicked again after creating the first preset
- “Screen position out of view frustum” error is thrown and Game window renders black when Camera Clipping Planes fields are set to “Infinity”
- Foldouts in the Library section of UI Builder do not open when clicked on title and Tree View is enabled
- VisualElement with DynamicTransform and animated scale from 0 is not rendered until hovered when parent uses GroupTransform
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.
Resolution Note (2023.1.X):
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.