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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment