Search Issue Tracker
Fixed in 1.3.0
Votes
0
Found in [Package]
1.2.0
Issue ID
1377009
Regression
No
GetTimeoutCompletionPercentage() returns 1 after 0.1s when Hold Action was started even though it is not performed yet
How to reproduce:
1. Open the attached “InputBug.zip” project
2. Open the “SampleScene” Scene
3. Enter the Play Mode
4. Press and hold ’Space’
Expected result: After holding ’Space’ for 0.1s GetTimeoutCompletionPercentage() does not return 1 in the Console
Actual result: After holding ’Space’ for 0.1s GetTimeoutCompletionPercentage() returns 1 in the Console
Reproducible with: 1.1.1 (2019.4.33f1, 2020.3.21f1, 2021.2.5f1, 2022.1.0a16), 1.2.0 (2019.4.33f1, 2020.3.21f1, 2021.2.5f1, 2022.1.0a16)
Could not test: 1.0.2 ("namespace name 'IInputActionCollection2' could not be found" and "'SampleActions.IEnumerable.GetEnumerator()': containing type does not implement interface 'IEnumerable'" errors)
Notes:
- To see what value is returned after 0.1s, Coroutine is called with that delay
- The Hold Action is set to the duration of 3s
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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Resolution Note (fix version 1.3.0):
Fixed in Input System 1.3.0 (Available from 2019.4.0f1)