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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment