Search Issue Tracker
Fixed in 1.2.0
Votes
0
Found in [Package]
1.1.0-preview.3
Issue ID
1342297
Regression
No
[Input System] Button clicks are missed when using SwitchCurrentControlScheme inside of OnMouseDown()
How to reproduce:
1. Open the user's attached project and Scenes/SampleScene scene
2. Enter the Play mode
3. In the Game view, select the "2" button
4. Observe the Console window
Expected result: the logged message is "Button '2' was pressed last"
Actual result: the logged message is "User initialized with control scheme: 'Keyboard&Mouse'"
Reproducible with: 1.0.1 - 1.1.0-preview.3 (2019.4.28f1, 2020.3.12f1, 2021.1.11f1, 2020.2.0a21)
Notes: Buttons function as expected when pressed with the Enter key
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
- Incorrect initial target position when the Skinning Editor's "Depth" parameter is adjusted on a bone which is set as the "Effector" parameter on the "Limb Solver 2D" Component
- The order of activation for Water Deformers and Foam Generators will cause water artefacts in the Player
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play mode on a specific project
- [Linux] Crash on 'PPtr<RuntimeAnimatorController>::operator RuntimeAnimatorController*() const' when saving a new animation file
- Crash on CachedWriter::Write when building a specific project with a default runtime TSS
Resolution Note (fix version 1.2.0):
Fixed in: 1.2.0
Fixed switching controller scheme if the target scheme and device set is already active.