Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.1.0-preview.1
Issue ID
1273033
Regression
No
[Input System] Input Action gets stuck in the "Performed" state after first activation when using Pass Through Vector2 Composite
Reproduction steps:
1. Open the attached project ("case_1273033-PerformedAction.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Press the "W" key and release it
5. Inspect the printed logs in the console
Expected result: Logs are printed only while the key is being held
Actual result: Logs continue to be printed when the key is released (action is stuck in the "Performed" phase)
Reproducible with: 2019.4.10f1, 2020.1.5f1, 2020.2.0b2
Couldn't test with 2018.4 (minimal package version needed is not supported)
Reproducible with package versions: 1.0.0-preview.5, 1.1.0-preview.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
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
Resolution Note:
Pass-Through actions go through Started to Perform on the first value change and then remain in that state until the action is disabled. In general, phases are not all that meaningful for pass-through actions. They are mere input collectors. Polling a pass-through action overall is not that useful. It's an input sink.