Search Issue Tracker
Fixed in 1.1.0-preview.2
Votes
2
Found in [Package]
1.0.0-preview.5
Issue ID
1253034
Regression
Yes
"Map index on trigger" and IndexOutOfRangeException errors when using multiple Interactions on the same Action
How to reproduce:
1. Open attached project "Input_Bug_Stripped.zip" and scene "SampleScene"
2. Enter Play mode
3. Click and release once and fast
4. Observe Console window
Expected result: no errors are thrown
Actual result: 3 errors are thrown
Reproducible with: 2019.4.0f1, 2020.1.0b12, 2020.2.0a14 (1.0.0-prev.5, 1.0.0)
Not reproducible with: 2019.4.0f1, 2020.1.0b12, 2020.2.0a14 (1.0.0-prev.3, 1.0.0-prev.4)
Could not test with: 2018.4 (package was not yet released)
Thrown errors:
Map index on trigger does not correspond to map index of trigger state
Exception 'IndexOutOfRangeException' thrown from state change monitor 'InputActionState' on 'Button:/Mouse/leftButton'
IndexOutOfRangeException: Index was outside the bounds of the array.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text render issues and various exceptions in TextCore when using TextSettings option "Match Material Presets"
- NullReferenceException error is thrown when unpacking multiple instances of the same UI Document
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
Add comment