Unity Issue Tracker - Device Simulator does not register keyboard inputs when in Play Mode
Closed
UUM-56651
Device Simulator does not register keyboard inputs when in Play Mode
Unity: Device Simulator
Won't Fix
6.0.X
2023.3.X
2023.2.X
Thank you for reporting this issue. We’ve investigated and determined that we are unable to address this specific problem at this time. We value your feedback and will consider this issue for potential inclusion in future updates.
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Focus on the Device Simulator window and press any key on the keyboard
Expected result: Error message “ANY KEY DOWN“ is printed every time the “Esc“ key is pressed
Actual result: Keyboard input is not registered and an Error message “ANY KEY DOWN“ does not get printed
Reproducible with: 2023.2.0f1, 2023.3.0a14
Could not test with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1 (Assets\Scripts\UI\Controls\CustomControl.cs(7,6): error CS0246: The type or namespace name 'UxmlElementAttribute' could not be found)
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: macOS Intel 14.0 (23A344) sonoma
Note:
Does not reproduce with the Game view window
Prioritise and Follow this issue
Have a workaround or additional info about this issue?