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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 2022.3.17f1):
Fixed in: 2022.3.17f1