Jack Pritz
Jack Pritz
I mean writing code against Gamepad is "better" in most instances, but writing against XInputController may be necessary for people wanting to target certain specific XInput device capabilities.
InputActions for keyboards and gamepads do not have a modifier that corresponds to Input.GetButtonUp
I'm referring to action modifiers. See the attached image 
InputActions for keyboards and gamepads do not have a modifier that corresponds to Input.GetButtonUp
I guess the correct verbage is: InputActions do not have a modifier that corresponds to Input.GetButtonUp
InputActions for keyboards and gamepads do not have a modifier that corresponds to Input.GetButtonUp
I've used OnButtonUp many times in games. Here are some use cases: - Any UI button. Buttons don't usually engage their action until you release your click. - Press action...
Sorry about not posting a repro project. I'm having some issues with my PC setup. I can create a repro project after I get all this straightened out. Posting now...
Here is a stack trace. This action was set up through an InputActionAsset. IndexOutOfRangeException: Array index is out of range. ISX.Utilities.ReadWriteArray`1[ISX.InputActionSet+ModifierState].get_Item (Int32 index) (at Packages/com.unity.inputsystem/InputSystem/Utilities/ReadWriteArray.cs:65) ISX.InputAction.NotifyControlValueChanged (ISX.InputControl control, Int32 bindingIndex,...
Just tried to trigger this failure through a public InputAction on a script - I guess that doesn't actually trigger the error. It only seems to fail through an InputActionAsset...
Make sure you focused the game window. Also, in case it matters, I'm running on Windows.
Can no longer reproduce with commit 7948ead2797c9551010b7e90017852ad3669b139
Looks fixed with commit repo commit a357d9d004297ddc591eb45568efe9c21fff97da and unity editor commit 725fd26e2382. Let's leave this issue here until the fix code makes it into a public editor release.