Search Issue Tracker
By Design
Votes
3
Found in
4.3.4f1
Issue ID
596221
Regression
No
EditorGUILayout Popup control does not handle options arrays with duplicate entries
To reproduce:
- Open attached "EditorGUILayout.unitypackage" and launch "test" scene
- In the top menu bar, go to "Test" and open the "popup Test" window
- Observe that no matter what index your are selecting on the window, only one "test" item is displayed in the drop down menu
User writes the following:
"The "Selected Index" is initialized to the middle of the list of options (all named "test"). If you play with changing the selected index you will see that the popup only ever shows a single row "test". The vertical positioning, however, appears to be calculated based on the selected index passed into the list.
The expected behavior is that the list shows all options; that it does not collapse duplicate entries."
Comments (4)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
damagefilter
Oct 09, 2017 11:18
Eeek. No edit button :C
Can someone perhaps explain why exactly this is by design?
Where's the catch?
damagefilter
Oct 09, 2017 11:17
2017.1.1 - still there...
tcz8
May 18, 2017 20:39
I can confirm this on 5.6, its easy to work around but I wasn't expecting to have to.
sysameca
Aug 28, 2014 11:35
Can confirm that on Unity 4.6