5.3 Text component, vertical placement not correct?

Just downloaded today released 5.3, and loaded my project. Like the topic says, i noticed that texts are not aligned the same they were in 5.2.3 = seems like vertical alignment is off.

Top aligned text is way out of box, above it.
Center aligned text is somewhere around were I’d expect top aligned text to be.
Bottom aligned text is aligned somewhere around center of text box.

I’m using baked bitmap font: 40 pixels, Rendering Mode: Hinted Raster mode, Character: ASCII default set.

Have to test a bit more, but seems like something has changed.

Well, maybe it’s the same as this one;

Hey, I had the same issue using font-awesome and custom TextUnicode script.

I changed font import “Character” option from Unicode to Dynamic and everything seems to work fine.

Yup same here, top one is Dynamic and bottom is Unicode. The reason for using Unicode was to minimize the Font.Cache lag, and caching only dynamic fonts where needed. The issue report above says its not to be fixed ??

Yep, noticed that - I guess it’s OK to use dynamic as solution for now, but I think I’d like to keep it as baked bitmap for performance reasons. So I might roll back to 5.2.3 unless this is going to be fixed in a patch release.

Have same issue :hushed:, have to rollback to previous version…

Try reimporting the font into unity. If that does not work could you create a bug report with an example?
The old bug was closed as it was fixed by reimporting.

karl.jones:

Hi, do you mean right click menu “Reimport” and Refresh (Ctrl+R) ?

I hadn’t tried it, now just did, tried saving project and restarting Unity too, but it made no difference.

Only when I change font character to “Dynamic”, it gets fixed, but all other options result to offset text.

Thanks for the suggestion, imported another copy of the font, but same here didn’t fix the problem.

Bug report and sample scene sent, fresh 5.3 project, all defaults used.

Getting the same issue on my unicode fonts after updating to 5.3 this morning. Seems like the center point of the text is raised higher than it should be. It’s positioned correctly if set to dynamic, and positioned correctly as unicode in previous Unity versions.

I wish I could use the dynamic but visually my font gets ruined by it. So Unicode would be very nice to get working. We can not really start using 5.3 without it :frowning:

The issue has been reopened and it looks like its fixed :slight_smile:

2 Likes

@karl_jones Thanks for the update.

Thought fixed i dont think its made it out to a public release yet.

It should be in 5.3.1 which just came out now.

I attached a button component to my text and in some computers (I’m not even sure if it’s because of resolution, as I tested the game with the resolution people who reported the bug had) you have to click over the text to make it work. Is it possible that this bug is related to that?

Its possible. Can you try 5.3.1 and see if you still have the problems? The resolution bug is fixed in this.

It was a Unity bug indeed! Thank God, I was going crazy! I’ve been trying to fix this bug for almost a week.
Thank you!

1 Like

I just updated to 5.3.1 and the same problem with Unicode font is there.

We also are not seeing this resolved in 5.3.1.