Search Issue Tracker
Fixed
Fixed in 2022.3.17f1
Votes
0
Found in
2022.3.9f1
Issue ID
UUM-48682
Regression
Yes
New line is added to UI Toolkit’s TextField, and the “System.ArgumentOutOfRangeException“ error appears when using “PreventDefault" and “StopImmediatePropagation” if pressing the Enter key with the option/Shift key
How to reproduce:
1. Open the attached “TextFieldIssue.zip” project
2. Open “SampleScene” Scene (Assets > Scenes)
3. Enter Play Mode
4. Focus TextField
5. Hold the option button and press the Enter button few times on macOS, or hold the shift button and press the Enter button few times on Windows
6. Observe the TextField and Console window
Expected result: New line is not created in the Textfield, and there are no errors in the Console window
Actual result: New line is created in the Textfield, and there are “System.ArgumentOutOfRangeException” errors in the Console window
Reproducible with: 2022.2.0a14, 2022.2.21f1, 2022.3.9f1, 2023.1.0a19
Not reproducible with: 2021.3.30f1, 2022.2.0a13, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5
Fixed in: 2023.1.0a20
Reproduced on: macOS 13.4.1 (Intel), Windows 10 (user’s info)
Note: reproducible in the Editor and Standalone Player (macOS)
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
- [macOS] Editor window is not restored to previous position when launching the Editor and mouse cursor is on a different screen
- [Usability] Warning message in an Adaptive Probe Volume Component is not informative enough when Realtime Global Illumination is enabled
- Inspector for Adaptive Probe Volumes is not repainted when toggling Realtime Global Illumination setting in the Lighting Window
- Surface Inputs are not rendering when using the custom BaseShaderGUI
- Reflection Problem custom Cubemap loses its reference when HDR is enabled and the platform is switched
Resolution Note (fix version 2022.3.17f1):
Fixed in: 2022.3.17f1