Search Issue Tracker
Fixed in 1.0.0-preview.16
Votes
0
Found in [Package]
1.0.0-preview.11
Issue ID
1296391
Regression
Yes
[UI Toolkit] Selecting and removing a chunk of text in TextField produces IndexOutOfRangeException
How to reproduce:
1. Open the user's attached project("bug_report_text_field_erase_error.zip")
2. In the toolbar select "BugReport" > "TextField"
3. Copy in some random text that would fill more than 2 lines of the Text Area
4. Select 2 lines of the text or more
5. Delete those lines
Expected results: The selected text gets deleted successfully
Actual results: "IndexOutOfRangeException: Index was outside the bounds of the array" is thrown a few times
Reproducible with: UI Toolkit 1.0.0-preview.11 - 1.0.0-preview.13(2020.1.17f1, 2020.2.0f1, 2021.1.0a9)
Not reproducible with: UI Toolkit 1.0.0-preview.3 - 1.0.0-preview.9(2020.1.17f1, 2020.2.0f1, 2021.1.0a9)
Could not test with: 2018.4.30f1, 2019.4.16f1(UI Toolkit not available)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Package Manager lets some packages to be imported when everything in the package is deselected while other packages have the “Import” button greyed out
- The Blackboard scrolls up and selecting Items breaks when Duplicating Items in a scrolled down List
- "Curve" window workspace doesn't update the scale to match the selected curve preset unless reopened
- StackOverflowException occurs and tests fail to load when the Test Runner window is opened while System.Windows.Forms.dll and System.Deployment.dll are present in the project
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
Add comment