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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2022.3.17f1):
Fixed in: 2022.3.17f1