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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment