Search Issue Tracker
Active
Under Consideration for 2020.3.X, 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X
Votes
3
Found in
2020.3.44f1
2021.3.18f1
2022.2.5f1
2023.1.0b2
Issue ID
UUM-26089
Regression
No
“RegisterCallback<KeyUpEvent>” and “RegisterCallback<KeyDownEvent>“ callbacks are not called when pressing keys in a UI Toolkit window
How to reproduce:
1. Open the user’s attached “TestJSONImport.zip” project
2. Open Menu > Test > KeyUpEventTest
3. Press the “Q”, “W”, “E”, “R”, “T”, or “Y” key
4. Observe the Console window
Expected result: Pressed key is printed
Actual result: Editor tools (Hand Tool, Move, Rotate) are selected and the pressed key is not printed
Reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.5f1, 2023.1.0b2
Reproduced on: macOS 12.4 (Intel)
Note: If focusing on the “Text Field” Input Field and doing the 3rd and 4th steps the key is printed in the Console window
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
- [Android] forward+ lighting glitch when built on Xiaomi Mi 10
- Lens Flare occlusion effect doesn't work when the Camera GameObject is behind obstacles
- Texture Importer: Swaps red and blue channels
- Parallax mapping with UVs set other than UV0 plugged into sample texture 2d produces an error
- Objects with single letter name won't show up in hierarchy search results
Dhaegon
Feb 10, 2023 03:53
This makes it really hard to create custom editors using UI Toolkit when I can't rely on key events to fire.