Search Issue Tracker

Fixed in 1.4.1

Votes

1

Found in [Package]

1.3.0

Issue ID

1392559

Regression

No

'Map index on trigger' and 'IndexOutOfRangeException' are thrown when using Interaction on both Binding and its parent Action

Package: Input System

-

How to reproduce:
1. Open the attached '1392559-sample' project
2. Open the 'SampleScene'
3. Enter the Play mode
4. Press '3' on the keyboard
5. Observe the Console

Expected result: No exceptions are thrown
Actual result: 'Map index on trigger does not correspond to map index of trigger state' and 2 'IndexOutOfRangeException' are thrown

Reproducible with: 1.2.0 (2020.3.25f1), 1.3.0 (2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2020.1.0b2)

All thrown exceptions:
'Map index on trigger does not correspond to map index of trigger state'
'Exception 'IndexOutOfRangeException' thrown from state change monitor 'InputActionState' on 'Key:/Keyboard/3''
'IndexOutOfRangeException: Index was outside the bounds of the array.'

  1. Resolution Note (fix version 1.4.1):

    Fxied in 1.4.1 (2020.3.35f1)

Comments (1)

  1. falsevac

    Jan 10, 2022 18:49

    Pull Request with a fix for this bug:

    https://github.com/Unity-Technologies/InputSystem/pull/1483

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.