Search Issue Tracker

Won't Fix

Won't Fix in 2022.1.X



Found in



Issue ID




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/ 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

  1. Resolution Note:

    Thanks for the report. Please test newer versions of Unity. It should no longer be a problem.

  2. Resolution Note (2022.1.X):

    Issue is resolved in subsequent versions (2022.2+)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.