Search Issue Tracker

Fixed in 1.5.0 & 2.1.0



Found in [Package]





Issue ID




[IL2CPP] Player crashes with TextMeshPro and HDRP packages on x64 and Debug configuration

Package: TextMeshPro


Steps to reproduce:
1. Download and open "Main" scene
2. Build a Standalone player (x64, Build Configuration Debug)

Actual results: Build crashes on launch.

Reproduced with: 2020.1.0a5, 2019.3.0b4, 2019.2.6f1, 2019.1.14f1
Not reproducible with: 2018.4.9f1

- Not reproducible on mono backend
- Not reproducible with x86 architecture
- Not reproducible with Release and Master build configuration

  1. Response avatar

    Resolution Note (fix version 1.5.0 & 2.1.0):

    I re-worked the handling of text auto sizing to remove the use of recursion which appears to be the cause of the crash in Debug mode / C++ Compiler Configuration set to Debug.

    The provided case was crashing with 16 recursions. I tested more convoluted / extreme text auto size cases where it would have previously required over 60 recursions to handle. These extreme auto size examples are compile and run fine in Release and Debug modes now.

    The described changes will be included in the next release of the TMP package which will be version 1.5.0 for Unity 2018.4 and 2.1.0 for Unity 2019.x.

    A preview of those releases will be available this week.

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.