Linked overflow bug when changing text at runtime

Hello,

I think I have found a bug in the TextMeshPro Example 16 - Linked text overflow mode example. When I’m changing the text of the master TextMeshPro Text to nothing at runtime, only the first linked box (TextMeshPro Text - Linked 1) gets empty too.
TextMeshPro Text - Linked 2 and TextMeshPro Text - Linked 3 still have their text content.

I can also reproduce that bug in a newly created project. TextMeshPro version 3.0.3 is installed.

Thanks

When clearing the content of the parent text component, I would expect the content of the linked components to change accordingly.

The behavior you describe above, appears to be a bug. I’ll take a look as soon as possible. However, I would still suggest you submit a bug report, this way I’ll get reminded of this issue in the event I forget to circle back to it within the next few days.

Hi Stephan_B, where is the right place to submit a bug report?

Submit the bug report via the Bug Reporter.

6704641--770047--upload_2021-1-8_13-22-29.png

1 Like

This still appears to be a bug in 3.06 and the issue can be seen in the following image. I have 2 textboxes and the bottom one is linked to the top to get it to wrap around the symbol box in the bottom right. When I set the .text property of the parent textbox to any string via a script, all of the text that was initially in the textbox gets moved to the linked textbox component of the top one.

In order to clear the text, it is required to loop through all linked text components and set all of their .text properties to empty string. I would expect that setting the parent would clear all of them.

7393781--902951--upload_2021-8-5_23-29-11.png

7393781--902945--upload_2021-8-5_23-24-34.png