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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment