Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.2.0f1

Issue ID

972933

Regression

No

UI Text component preferred size differs after changing Canvas size

uGUI

-

To reproduce:

1. Download attached project "UIText_PreferredSize_BugReport.zipp" and open in Unity
2. Open "bugRerport" scene
3. Enter Play mode using [1334 x 750] canvas size
4. Observe Text layout properties - they are [0, 0, 737, 41]
5. Change canvas size to [2001 x 1225]
6. Observe Text layout properties - they are [0, 0, 738, 81.33334] now

Notes:
- This issue appears on both Windows and OSX
- This issue also can be seen in the WebGL build when entered to full-screen mode.

Reproduced on Unity 5.6.4p4, 2017.1.2p3, 2017.2.0p4, 2017.3.0f1 and 2018.1.0a7

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.