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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment