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
7000.0.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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 2022.3.0f1):
Fix exception thrown when pasting text into TMP inputfield with custom validator