When Overflow is set to Linked, linebreaks in the text (\n or
) don’t work as expected. This is causing my text to ignore linebreaks if they happen to line up with the edge of the text box. Without the Linked setting the line breaks work as expected (each \n or
makes the following text drop down one line)
To reproduce:
Create two text fields on top of each other and set the top one’s overflow to be Linked and link it to the lower one
Input text into the text box
Let text flow into the text boxes so it overflows into the second one
Insert a line break in the text where the text transfers to the next text box
Observe behavior
Expected:
Line breaks in text in linked boxes behave the same as in boxes with other overflow settings.
I am also experience this same thing with the line breaks. I’m working on Unity 2019.4.17f1. I’m using TextMeshPro version 2.1.3.
Another bug I am seeing is where a character from the last line before the link occurs carries over…for example, in my screenshot attached, you’ll see the “n” carry over from the word “an”.