When textmeshpro fonts are bolded they generate a child graphic of type TMP_SubMeshUI. These objects are regenerated on play, so softmaskable components need to be added to them procedurally, which is expensive.
But also when the softmaskable is added to them at runtime, the text goes completely invisible. Disabling the added softmaskable makes them visible again, but whenever it is enabled, the text disappears.
I should also note that when I switch it to "Visible Outside Mask" it ends up being visible inside the mask. So there must be something strange going on with the world position calculation.
When textmeshpro fonts are bolded they generate a child graphic of type TMP_SubMeshUI. These objects are regenerated on play, so softmaskable components need to be added to them procedurally, which is expensive.
But also when the softmaskable is added to them at runtime, the text goes completely invisible. Disabling the added softmaskable makes them visible again, but whenever it is enabled, the text disappears.
I should also note that when I switch it to "Visible Outside Mask" it ends up being visible inside the mask. So there must be something strange going on with the world position calculation.