Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Strange UI scaling in 5.4

$
0
0
I upgraded to 5.4 and noticed some of my UI buttons were suddenly huge and off the screen. After digging around for a while, it seems that as of 5.4 at least, if the canvas Z scale is 0, or the parent Z scale is 0, the buttons get huge and positioned wrong. Any value other than 0 seems ok.

I'm not sure why I had them as Z scale 0, but that's what was breaking now. I changed to 1 and it's fine. Here's a video showing the issue:


Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>