Anchor position/yellow box position

Hello,

my problem is that the yellow box/anchor doesn’t cover the text box like in the video.

Instead the yellow box/anchor changes position if I zoom in or out.

It happens even if I delete the Image or Text (TMP) and add a new one.

Does somebody know a fix?

Thanks

Hi pschroed,

Welcome to our community! :slight_smile:

Which version of Unity do you use? If it’s Unity 2021.2, there might be a bug as multiple students had this problem. Please test this solution from the official Unity forum. Please report a bug to Unity via Help > Report a bug (in Unity). Maybe send them a screenshot of the problem and also let them know about the solution in their official forum which you tested to no avail.

I use the currently recommended (from unity) version 2021.2.2f1

Which version do you recommend?

I couldn’t find the older version you use for this course but I probably didn’t search long enough.

I will work through the solution later when I have more time.

Would an update to a newer version also help?

I am also not sure if it’s only a textmeshpro problem.

When I add an image on a canvas the anchor also isn’t where it should be.

Thanks

At the moment, 2021.1 seems to run well. I have had problems with 2021.2, and other students seem to have problems with it as well. I’m waiting for Unity 2021.3.

I couldn’t find the older version you use for this course but I probably didn’t search long enough.

You can find all versions of Unity here:

I am also not sure if it’s only a textmeshpro problem.

According to your screenshot, there seems to be a problem with Unity, maybe with the Canvas component. We cannot fix that because it is part of Unity’s source code. You could try to disable/enable the Canvas component. Perhaps it’ll will recalculate the positions. And you could try to set the Render Mode to “World Space” as a temporary fix (if that fixes the problem).

And if nothing helps, try to install and use Unity 2021.1.28.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms