Search Issue Tracker

In Progress

Fixed in 1.11.2

Under Consideration for 7000.0.X

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

Package: Input System

-

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)

  1. undeadx

    Dec 17, 2023 14:56

    same issue

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.