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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment