Search Issue Tracker

Fixed

Fixed in 2021.3.36f1, 2022.3.22f1, 2023.2.13f1, 2023.3.0b11

Votes

0

Found in

2021.3.5f1

2022.3.16f1

2023.2.0a1

2023.3.0a3

Issue ID

UUM-3533

Regression

No

The first dropdown menu element is selected when selecting the last element when GenericMenu.allowDuplicateNames is set to true

--

-

How to reproduce:
1. Open project "BugReport.zip"
2. Open "Scene" Scene (Assets>Scene)
3. In the Hierarchy window select "GameObject"
4. In the Inspector window press button "Item X"
5. Choose the last "Item X"
6. Again press the button "Item X"
7. Observe which "Item X" is selected

Expected result: Last "Item X" is selected
Actual result: First "Item X" is selected

Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b16, 2022.1.0a12

Notes:
- In the "Test (script)" Component "Selected" window is showing the right selected item number
- Bug occurs when there are some elements with the same names

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.