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
- "Import projects" button doesn't work in Unity Hub
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
- Shader Graph generates 'İ' in the shader when using Turkish Regional format
- Crash on ParticleSystemUpdateData::CacheSubEmitters(ParticleSystem&) when shared subemitter referenced by multiple nested particle systems
- Visual Effect property override remains permanently checked when Timeline preview ends
Resolution Note (fix version 2022.3.0f1):
Fix exception thrown when pasting text into TMP inputfield with custom validator