Search Issue Tracker
Fixed
Fixed in 1.11.2, 7000.0.0
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
- Rigged GameObject doesn’t return to its idle state when disabling "Preview" and the GameObject has nested rigged GameObjects
- Error "ArgumentException: Trying to use an invalid resource" when creating custom post-processing effect in URP
- [DX12] GameObjects using CommandBuffer DrawProcedural and DispatchCompute calls have color flicker when changing color and moving mouse cursor
- The Player becomes unresponsive after resolution switch in Exclusive Fullscreen mode when using DX12 Graphics API
- (Apple Silicon) Floating point inconsistencies between mono and il2cpp
Resolution Note (fix version 7000.0.0):
Merged into neutron. Fix did not differ from other ports