TMPro <u>underline</u> thickness randomly varies, sometimes near-invisible

6209507--682217--upload_2020-8-16_16-54-53.png

Sometimes it’s about 2px (expected), but others it’s about 1px (unexpected), almost invisible.

(Embedding the package since that previous bug report in 2020.1 stable in a previous post I’ll find shortly)

The underline thickness is defined in the font asset and scales like any other character. As such, and especially if you are using a Canvas Scaler, it can get too thin.

When very thin, it will be affected depending on the vertical positioning. I would suggest increase the thickness of the underline which should resolve that but I can also explore some type of clamping on the thickness.

1 Like

Setting from 1.8ish to 4 seems to have done the trick~