Search Issue Tracker
Active
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b13
2022.1
Issue ID
1370348
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment