Search Issue Tracker
Fixed in 1.1-pre.6
Votes
1
Found in [Package]
1.1.0-preview.1
Issue ID
1272563
Regression
No
[Input System] PerformInteractiveRebinding method doesn't detect button input when rebinding part of a 2D Vector Composite
How to reproduce:
1. Open the attached "1272563 repro" project
2. Open the "SampleScene" Scene from Assets > Scenes folder
3. Enter Play Mode
4. Press the "O" key on the keyboard
Expected result: "O" key is bound to the Up part of the 2D Vector Composite
Actual result: nothing happens
Reproducible with: 0.2.10-preview (2019.4.9f1), 0.9.6-preview (2019.4.9f1), 1.1.0-preview.1 (2019.4.9f1, 2020.1.4f1, 2020.2.0b1)
Could not test with: 0.1.2-preview (compilation errors)
Notes:
-If the Control Type of the "Vector Composite" Action from the "InputAsset" is changed from Vector 2 to anything else, the issue no longer reproduces
-This issue reproduces with Value and Pass Through Action Types and Analog, Digital, Digital Normalized Modes of the Composite
-The expectedControlType when targeting a specific part of the composite is Vector2 which is probably causing the issue
Comments (1)
-
jamesdrd123
Nov 13, 2020 17:02
Just wanted to add a comment for anyone who has this same problem.
I believe the OP was correct in their assumption that the issue was the expected control type as when I set the expected control type to "Axis" using .WithExpectedControlType("Axis"), PerformInteractiveRebinding was able to detect the input fine.
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
- "InvalidOperationException: Trying to SetRenderAttachment on a texture..." exception is thrown when using the depth back buffer as an input attachment in Renderer Feature on Vulkan Graphics API
- [HDRP Wizard] Reload Window fails to reload the HDRP Wizard window
- [HDRP Wizard] Fix All button is not presented using the macOS system
- "InvalidCastException: Specified cast is not valid" is thrown when Generating Lighting with "Virtual Offset" enabled in APV, and a static Skinned Mesh Rendered with a Mesh Filter Component is in the Scene
- TMP material doesn't update when using Localized Property to change the font assets
Resolution Note (fix version 1.1-pre.6):
Fixed in 1.1-pre.6 (2022.1.0a9)