Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

2018.4

2019.3.1f1

2020.2

Issue ID

1246215

Regression

No

Selection is not shown when selecting 16383th or later characters in text areas

IMGUI

-

How to reproduce:
1. Open attached "TextArea" project
2. Select "SampleScene" Scene
3. Expand "Canvas" in Hierarchy and select "Text(TMP)"
4. In the Inspector select all text in the Text field

Expected result: All text is selected
Actual result: Only the first 16382 characters are selected

Reproducible with: 2018.4.0f1, 2018.4.23f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Could not test with: 2017.4.40f1 because you can not add any more characters to the string

Note: It works with IMGUI and within editor on the Inspector where you can input text (like TextMeshPro). The selection is only visual, you can select the characters after the 16382th character it just doesn't show that it is selected.

  1. Resolution Note:

    A fix for this issue requires major changes in UIToolKit and the limit is sue to the usage of UTF16 which is the standard and being used in a lot of places, for now we are resolving this issue as postponed as we plan to increase the limit as a part of UIToolKit improvements. For reference https://unity.slack.com/archives/CBJG0TGVD/p1615204586083800

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.