Search Issue Tracker

Active

Under Consideration for 1.11.X

Votes

0

Found in [Package]

1.11.2

Issue ID

ISXB-1275

Regression

No

IndexOutOfRangeExceptions are thrown when Input System is active in the Simulator view and the view is changed to the Game view

Package: Input System

-

Reproduction steps:
1. Open the attached “InputSystem.zip” project
2. Open the “MouseVisualizer” Scene
3. In the Game view switch from ‘Game’ to ‘Simulator’ in the toolbar
4. Enter the Play mode
5. Switch back from ‘Simulator’ to ‘Game’
6. Observe the Console

Expected result: No errors
Actual result: “IndexOutOfRangeException while executing 'InputSystem.onEvent' callbacks" and “IndexOutOfRangeException: Index was outside the bounds of the array." errors

Reproducible with: 1.7.0 (2021.3.47f1, 2022.3.54f1, 6000.0.31f1, 6000.1.0a7), 1.11.2 (2021.3.47f1, 2022.3.54f1, 6000.0.31f1, 6000.1.0a7)

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Note:
- Possibly caused by Control Path being set to ‘<Mouse>/position’ (On the “Position” GameObject), since removing the path makes the issue not reproduce anymore

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.