Search Issue Tracker
Won't Fix
Won't Fix in 2022.1.X
Votes
0
Found in
2021.3.15f1
2022.1.0a16
Issue ID
UUM-27553
Regression
No
Pop-up windows are not ordered properly when using VisualElement.add() method
Reproduction steps:
- Open the attached project “UITKbug“
- Go to “Window > App UI > Open Storybook”
- In the window “App UI - StoryBook” open “Kit > Main”
- Scroll down till you reach the “MENU” section
- Press the button “Click here!”
- Select the list item “My Sub Menu > Another Sub Menu > Another Sub Menu Item”
Expected result: Pop-up windows stack on top of each other
Actual result: The order of pop-up windows is reversed
Reproducible with: 2021.3.15f1, 2022.1.0a16
Not reproducible with: 2022.1.0b1, 2022.1.24f1, 2022.2.0f1, 2023.1.0a22
Couldn't test with: 2020.3.42f1 (Packages/com.unity.dt.app-ui/PackageResources/Styles/Themes/App UI - Globals.tss (line 8): error: Unsupported unit: '200ms')
Fixed in: 2022.1.0b1
Reproducible on: Windows 11
Note: If any script is modified in any way, then after saving the script the order of Sub Menu items is fixed
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Thanks for the report. Please test newer versions of Unity. It should no longer be a problem.
Resolution Note (2022.1.X):
Issue is resolved in subsequent versions (2022.2+)