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
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
Resolution Note (fix version 2022.3.0f1):
Fix exception thrown when pasting text into TMP inputfield with custom validator