Textmesh/Buttons are moving to different positions in "release fullscreen"



Hi there,

I am a newbie and facing an issue (Unity 2022.3.52f1) which I do not understand.
I have a 1920x1080 background graphic in vertial alignment.
I created a textmesh field and placed it in the white area of the background image.
When running in “play” it is showing there correctly.
But when building a release, then this textbox is somewhere else. See screenshots :frowning:
Same happening with buttons…

“Spielautomat Grafik” is the image.
Punktestand is the textbox.

Hope all needed infos are attached here. Thanks! :slight_smile:

Hello! I see that within your Canvas Scaler, you have the UI Scale Mode set to Constant Pixel Mode, this could potentially be the issue that you’re having!


Instead, try changing it to Scale With Screen Size and set the Reference Resolution to 1920 by 1080 (a good basis for reference sizes, it doesn’t always have to be this way)

Hopefully this works!

I would also suggest watching the following video to help learn the basics of UI within Unity in general!

Thanks, that worked!

I will check out the video too :slight_smile: