Search Issue Tracker
Fixed in 1.0.0-preview1
Votes
0
Found in [Package]
0.9.6
Issue ID
1183314
Regression
No
Map index on trigger does not correspond to map index of trigger state, exceptions thrown
-e :A specific setup with the new Input System causes an error to be logged and further input to break.
-repro:
--Connect a gamepad (tested with PS4 controller via Bluetooth and USB (customer) and x360)
--Open attached SampleScene and play it
--Hold the left arrow key and the press the up arrow key
--NOTICE exceptions being thrown
---Map index on trigger does not correspond to map index of trigger state
---Exception 'IndexOutOfRangeException' thrown from state change monitor 'InputActionState' on 'Key:/Keyboard/upArrow'
---IndexOutOfRangeException: Index was outside the bounds of the array.
---Should not get here
-This is not shown in the sample project but if the errors are repeated, input starts to be ignored.
-Customer was only able to reproduce this with two action maps, each containing an action with both a composite and regular binding. If either a map or any binding is removed, the error does no longer appear. It also only works with a gamepad connected, if the gamepad is disconnected, the error also doesn't appear.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
dev_cwj
May 28, 2020 08:10
[Solution] - Reset Properties
1. Go to upArrow's Properties - Interactions
2. Remove Interactions or Processors list
3. Reset Interactions or Processors list again (Add the same value as above)
4. Ta Da!
[Why]
It is possible to reproduce the bug when copying&pasting 'Action' from another 'Action-map'.