Search Issue Tracker
Fixed in 1.0.0-preview.5
Votes
1
Found in [Package]
1.0.0-preview.3
Issue ID
1195498
Regression
No
[InputSystem] InputAction.ReadValue<float> returns 0 when a Hold Action is performed for Hold Time amount of time
How to reproduce:
1. Open the attached project "1195498.zip"
2. Open the SampleScene
3. Enter Play mode and hold "Space" button pressed
Expected result: 1 is printed for as long as the button is held
Actual result: 0 is printed after the Hold Time has passed for the Input Action
Reproducible with: 2019.2.14f1(1.0.0-preview, 1.0.0-preview.3), 2020.1.0a14(1.0.0-preview, 1.0.0-preview.3)
Notes:
Could not test on package versions 0.9.6 and below due to Console errors.
Could not test on Unity 2018.4.13f1 and below because package versions above 0.9.6 are not available.
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Resolution Note (fix version 1.0.0-preview.5):
Fixed in https://github.com/Unity-Technologies/InputSystem/pull/1055