Search Issue Tracker
By Design
Votes
1
Found in [Package]
1.2.0
Issue ID
1381485
Regression
No
InputSystem Package unresponsive when multiple bindings on an action
Reproduction steps:
1. Open project "TestDebugInput.zip"
2. Open Scene "SampleScene" and enter Play Mode
3. Click and hold the Orange Panel
4. Observe logs in the Console window
Expected result: "Get pos" is printed once
Actual result: "Get pos" is printed twice
Reproducible with: 1.2.0 (2019.4.32f1, 2020.3.23f1, 2021.2.3f1, 2022.1.0a15)
Note: This doesn't happen when clicking and holding on the Green Panel
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
The code is hooking the same method up to all three action notifications (started, performed, and canceled). So the same code gets called for every change on the action. An action will go through 'started' before going to 'performed' or 'canceled'. Thus you get one call for 'started' and one call for 'performed'. So two calls. 'InputAction.CallbackContext.phase' tells you which phase the action currently is in.