Search Issue Tracker

Fixed in 1.1-pre.6

Votes

0

Found in [Package]

1.1.0-preview.3

Issue ID

1337354

Regression

No

[InputSystem] ArgumentOutOfRangeException is thrown when calling IsPointerOverGameObject

Package: Input System

-

Steps to reproduce:
1. Open the attached project "1337354.zip"
2. Connect Android (or IOS) device
3. Build and run the "SampleScene" Scene
4. Touch the screen and swipe with two fingers multiple times

Expected results: no error messages are logged
Actual result: multiple error messages are logged: "ArgumentOutOfRangeException: Specified argument was out of range of valid values. Parameter name: index"

Reproducible with: 1.0.2 (2019.4.27f1, 2020.3.9f1), 1.1.0-preview.3 (2020.3.9f1, 2021.1.8f1, 2021.2.0a18)
Could not test: 2018.4.35f1 - project fails to build when using Input System package versions 1.0.1 or older

Reproducible on:
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
VLNQA00294, Oppo Reno Z 中国版 (PCDM10), Android 9, CPU: Mediatek MT6779 Helio P90, GPU: PowerVR Rogue GM9446
VLNQA00286, Meizu - (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00317, Vivo V1924A (V1924A), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00335, Samsung Galaxy S20 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
iPhone 12 Mini (iOS 14.1)

Notes:
- Also reproduces with Windows Standalone
- Attached video shows one of the gestures that can consistently reproduce the issue
- Error is being thrown until the next time the screen is touched

  1. Resolution Note (fix version 1.1-pre.6):

    Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1356

    Fixed in Input System 1.1.0-pre.6 available on Unity 2019.4.0f1 and above

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.