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
- [WebGPU] error with compute shader and read-only RWTexture
- Capacity-size memory is copied instead of Length-size when using UnsafeUtility.memCpy()
- Console displays "SerializedObjectNotCreatableException: Object at index 0 is null" error during Unity theme change while "Tile Palette" window is opened
- Details are not shown when Error Message is still selected after changing Log Entry Count in the Console
- Disabling Unity VCS in Project Settings unfocuses the Project Settings Window
Add comment