Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in [Package]
1.1.0-pre.5
Issue ID
1338700
Regression
No
Keyboard.digit1Key.wasPressedThisFrame doesn't get registered when Ctrl key is held and after it's released
Reproduction steps:
1. Open attached project "1338700.zip"
2. Open "SampleScene" Scene
3. Enter Play Mode and click in Game View to get a focus on it
4. Hold the "Ctrl" key and notice console messages "UPDATE ctrl is pressed"
5. Click the "1" key a few times (not the one in the Numpad)
6. Release the "Ctrl" key and repeat 4th step
Expected result: "UPDATE digit1 is pressed this frame" message gets printed, meaning that keyboard.digit1Key.wasPressedThisFrame doesn't get registered
Actual result: keyboard.digit1Key.wasPressedThisFrame doesn't get registered when pressing "Ctrl" and after releasing it
Reproducible with: 1.1.0-preview.3 (2019.4.28f1, 2020.3.12f1), 1.1.0-pre.5 (2019.4.28f1, 2020.3.12f1, 2021.1.11f1, 2021.2.0a20)
Couldn't test with: 2018.4 (Input System is not available)
Notes:
- Refocusing the Game View and clicking "1" key triggers keyboard.digit1Key.wasPressedThisFrame successfully
- Not reproducible with other keys like "2" or "T"
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
- Text is pushed outside of the text box when creating a new Colors library in the Color Picker and entering the long string
- Shader Graph template list misaligns and becomes invisible while scrolling
- "Sort By..." icon is not visible in the "Create new Shader Graph Asset" window in the Light Editor theme
- "Unity SDF" font Asset from TMP Extras is pink
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
Resolution Note:
Postponing until further notice due to higher priority needs. We hope to revisit this at a later time.