Font issues after upgrading to 1.12.2

After upgrading to 1.12.2, I face an issue with game object labels (not gui).

My game had a simple game object: A sprite, two labels on top of it and a script.

This rendered like (the game object is the tile with the letter on it):

After upgrading, it is displayed as - the label is lost:

The labels are not shown.

I can get them to show again, a bit different, if I change the label’s material from /builtins/fonts/label-df.material to /builtins/fonts/label.material:

I thought it was an issue of positioning and that maybe it was hidden behind the sprite, but this was not the case. I couldn’t find any reference to labels and materials in the release notes, so I was caught by surprise. Is this something known? I haven’t seen anything else affected.

1 Like

Hi @Spyros_P !

I agree, this is not something I would have expected in this release.
Would you mind creating a ticket on Github and also supplying a small repro project?

Done - issue #12010

Repro project: GitHub - spyros1973/MaterialIssue · GitHub

I’ve looked at your example project and it turns out that you are using the wrong material with the wrong font. I’ve replied in the issue.

Thanks for taking a look at it. I’m a bit wiser regarding materials now. Please keep om mind that the same project works correctly in the previous version of Defold.