How to reproduce:
1. Open the “TextFieldInputBug.zip“ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Press the “X“ key on the keyboard
5. Observe the Game view
Expected results: The TextField appears and is focused on without the “X“ entered into the field
Actual results: The TextField appears and is focused on with the “X“ entered into the field
Reproducible in: 1.8.0, 1.8.2 (2022.3.28f1, 6000.0.2f1)
Could not test in: 1.7.0 (2021.3.38f1, 2022.3.28f1, 6000.0.2f1) (No definition for InputSystem.actions), 1.8.0-pre.1 (2021.3.38f1, 2022.3.28f1, 6000.0.2f1) (various Console errors), 1.8.0-pre.2 (2021.3.38f1, 2022.3.28f1, 6000.0.2f1) (various Console errors), 1.8.0, 1.8.2 (2021.3.38f1) (No definition for InputSystem.actions)
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- The “Reset Demo“ button is pressed and the 4th step is repeated the second time, the console gets an “ArgumentOutOfReachException“ error
- In version 2022.3.28f1 the issue is more severe, by preventing the “X“ character from being typed at all (except when it is pressed to focus on the TextField)