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
- [iOS] High CPU load when device keyboard is open
- Selected Animation clip in the Animation window changes when the Domain Reload is triggered
- Animation window scrollbar keeps resetting when the scrollbar width is changed after adding an event
- LocalizationSettings.InitializationOperation hangs when re-entering Play Mode with Domain Reload disabled
- [UI Toolkit] Delete key deletes the incorrect character and allows for an extra character deletion when language direction is set to RTL
Resolution Note (fix version 2022.3.0f1):
Fix exception thrown when pasting text into TMP inputfield with custom validator