Steps to reproduce:
1. Open the attached user's project "UITKFaultyControllerSupport.zip"
2. Connect a controller to the PC such as XBOX One
3. Open the SampleScene and enter Play Mode
4. Move the analog stick any direction so it selects the first button in the UI
5. Using the controller, navigate towards the dropdown
6. Once its selected, press X/A on the controller to open it
7. Once opened, press X/A without moving the analog stick or arrows
Expected Result: The existing option is automatically highlighted and selectable so when X/A is pressed this option from the dropdown is selected
Actual Result: An ArgumentOutOfRangeException error is thrown in the console
Reproducible with: 2022.3.33f1, 6000.0.5f1
Could not test on 2021.3.39f1 due to numerous argument exceptions after downgrading
Testing Environment: Windows 11
Not reproducible on: No other environment tested
Notes:
-Exception:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <f22cb97e7aa5412ba04225fa1fc145f2>:0)
UnityEngine.UIElements.GenericDropdownMenu.Apply (UnityEngine.UIElements.KeyboardNavigationOperation op) (at <e3aada69b31740d4a008821e33836432>:0)
UnityEngine.UIElements.GenericDropdownMenu.Apply (UnityEngine.UIElements.KeyboardNavigationOperation op, UnityEngine.UIElements.EventBase sourceEvent) (at <e3aada69b31740d4a008821e33836432>:0)
UnityEngine.UIElements.KeyboardNavigationManipulator.Invoke (UnityEngine.UIElements.KeyboardNavigationOperation operation, UnityEngine.UIElements.EventBase evt) (at <e3aada69b31740d4a008821e33836432>:0)
UnityEngine.UIElements.KeyboardNavigationManipulator.OnNavigationSubmit (UnityEngine.UIElements.NavigationSubmitEvent evt) (at <e3aada69b31740d4a008821e33836432>:0)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <e3aada69b31740d4a008821e33836432>:0)