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
-
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
- SpeedTree importer fails to import .st files when path to the project includes a special character
- [VFX Graph] HSLS Redefinition error when input have the same name as attributes
- [VFX Graph] HLSL VFXFIXED_RAND isn't working
- Crash on Meta Quest 2 when using Vulkan
- Greyed out Icon for Tool Context is misaligned in the Tools Overlay in the URP 3D Sample Template
Resolution Note (fix version 1.1-pre.6):
Fixed in 1.1-pre.6 (2022.1.0a9)