Search Issue Tracker
Fixed in 1.1-preview.2
Votes
2
Found in [Package]
1.1.0-preview.1
Issue ID
1274977
Regression
No
Input System cannot read Vector2 values after InputActionSet has been disabled and enabled twice
Reproduction steps:
1. Open attached project "InputSample.zip" and scene "SampleScene"
2. Enter Play Mode
3. While holding the 'D' key, press the 'escape' key four times.
4. Observe 'MoveDisplay' GameObject's Text
Expected result: The value returns to "(1.0, 0.0)"
Actual result: The value remains as "(0.0, 0.0)"
Reproducible with: 2019.4.10f1, 2020.1.5f1, 2020.2.0b2 (Input System 1.1.0-preview.1)
Could not test with: 2018.4.27f1 (console errors break project)
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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
FireHawkX
Oct 13, 2021 19:23
I made the switch to the New Input system last month... took a while to redo all the inputs and interaction of my project... last week everything was finally working fine!
However, After finding out I needed the preview-3 build (or vers 1.1.1) to get access to the save and load functions (LoadBindingOverridesFromJson), I had to update to 1.1.1
Yet, now i am faced with my Vector2 WASD returning 0.0 ALL the time... I have tried pretty much everything I could think of but its no longer working no matter what i try...