Search Issue Tracker
Fixed
Fixed in 1.11.2
Votes
3
Found in [Package]
1.7.0
1.8.0-pre.1
1.8.0-pre.2
Issue ID
ISXB-687
Regression
No
ArgumentOutOfRangeException is thrown when the Input System UI Input Module Component is disabled from the Simulator using UI Button through
How to reproduce:
1. Open the “IN-60236_repro“ project
2. Open the “StartUp“ scene
3. Open the Simulator tab (Window → General → Device Simulator)
4. Enter Play Mode
5. In the Simulator tab press the “Button“ GameObject
6. Observe the Console
Expected result: No exceptions are thrown
Actual result: ArgumentOutOfRangeException is thrown
Reproducible with: 1.6.3 (2021.3.29f1), 1.7.0 ( 2021.3.32f1, 2022.3.13f1, 2023.1.20f1), 1.8.0-pre.1 (2023.2.0f1), 1.8.0-pre.2 (2023.3.0a14)
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes:
- Not reproducible in Player
- Error: ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
UnityEngine.InputSystem.Utilities.InlinedArray`1[TValue].get_Item (System.Int32 index) (at ./Library/PackageCache/com.unity.inputsystem@1.7.0/InputSystem/Utilities/InlinedArray.cs:73)
UnityEngine.InputSystem.UI.InputSystemUIInputModule.RemovePointerAtIndex (System.Int32 index) (at ./Library/PackageCache/com.unity.inputsystem@1.7.0/InputSystem/Plugins/UI/InputSystemUIInputModule.cs:1861)
UnityEngine.InputSystem.UI.InputSystemUIInputModule.Process () (at ./Library/PackageCache/com.unity.inputsystem@1.7.0/InputSystem/Plugins/UI/InputSystemUIInputModule.cs:2177)
UnityEngine.EventSystems.EventSystem.Update () (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:530)
Comments (1)
-
undeadx
Dec 17, 2023 14:56
same issue
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
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Duplicated groups and incorrect grouping in UI Builder when using UxmlElementAttribute: libraryPath
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
- Crash on UNITY_FT_Render_Glyph_Internal when Generating Font Atlas in the Font Asset Creator Window
Resolution Note:
Merged into neutron. Fix did not differ from other ports