Search Issue Tracker
Fixed
Fixed in 2022.3.0f1, 6000.0.27f1, 6000.1.0a3, 7000.0.0a12
Votes
4
Found in
2021.3.41f1
2022.3.39f1
6000.0.11f1
6000.1.0a1
Issue ID
UUM-76312
Regression
No
ArgumentOutOfRangeException is thrown when using TextMeshPro Input Field with custom validator
How to reproduce:
1. Open the attached “TestUnityInputField.zip” project
2. Open the “SampleScene”
3. Enter Play Mode
4. Copy the Text “ABC” from the Input Field
5. Double click the Text to select it
6. Paste with Ctrl + V
7. Observe the Console Window
Expected result: No messages are shown and Text is pasted normally
Actual result: “ArgumentOutOfRangeException“ is thrown and only the first letter is shown in the Input Field
Reproducible in: 2021.3.41f1, 2022.3.39f1, 6000.0.11f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
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
- Invalid Blue value in MotionBlurMergeTilePass when objects move at certain speeds
- Physics Debugger displays mouse cursor ray casts when Game view is not open if Input System package is used
- “ArgumentException” error thrown when disabling all columns in Project Auditor's Multi-column panel context menu
- Errors are thrown and contextual menu does not open when right-clicking multiple mixed keyframes in Dopesheet
- Crash on MergeObjectCollection when repeatedly selecting a Prefab Asset in the Project Browser
Resolution Note (fix version 2022.3.0f1):
Fix exception thrown when pasting text into TMP inputfield with custom validator