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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.3.17f1):
Fixed in: 2022.3.17f1