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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment