Search Issue Tracker
Fixed
Votes
0
Found in
2023.3.0b10
Issue ID
UUM-65507
Regression
Yes
DropdownField throws “IndexOutOfRangeException” when a option with a space character is selected
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene“ Scene
3. Enter the Play Mode
4. In the Game View, open the DropdownField at the top of the window
5. In the DropdownField drawer, Select the blank (single space character) option
6. Observe the Console
Expected result: No errors are logged in the Console
Actual result: “IndexOutOfRangeException” error is logged in the Console
Reproducible with: 2023.3.0b4, 2023.3.0b10
Not reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.3.0b3
Couldn't test with: 2023.2.13f1 (the blank (single space character) option does not get added to the DropdownField)
Reproducible on: Windows 11, macOS 14.2.1 (M1) (By user)
Not reproducible on: No other environment tested
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-64241