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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Add comment