Search Issue Tracker

Fixed in 1.5.0-preview.4, 2.1.0-preview.4, 3.0.0-preview.4

Votes

0

Found in [Package]

1.5.0-preview.3, 2.1.0-preview.3

Issue ID

1205923

Regression

No

Editor freezes and a very large amount of GC is generated when setting a TextMeshPro Text value to a long string

Package: TextMeshPro

-

How to reproduce:
1. Open the user-submitted project
2. Open the Sample Scene
3. Open the Profiler window
4. Enter Play mode
5. Press the "10k words" button

Expected result: Editor does not freeze
Actual result: Editor freezes for a few seconds and UI generates around 3GB of GC

Reproducible with: Unity 2017.4.36f1 (1.2.2), Unity 2018.4.15f1 (1.4.1, 1.5.0-preview.3), Unity 2019.2.17f1 (2.0.1), Unity 2019.3.0f4 (2.0.1, 2.1.0-preview.3)

Notes:
Trying to set long values on Unity 2020.1.0a17 with TMP 3.0.0 results in Console errors instead.

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.