Search Issue Tracker

Won't Fix

Votes

1

Found in

5.4.1f1

Issue ID

850460

Regression

No

Enabling Align By Geometry changes Rect Transform's Height if the object has Content Size Fitter component

uGUI

-

Enabling Align By Geometry changes Rect Transform's Height if the object has Content Size Fitter component with Vertical Fit set to Preferred Size

To reproduce:
1. Open the attached project
2. Select the "Text" game object inside the "Canvas" in the hierarchy
3. Enable Align By Geometry in the Text component of the selected object
Result: Notice that Rect Transform's Height has changed (disabling Align By Geometry sets it back to previous value)

Reproducible on: 5.6.0a3, 5.5.0(from b7 to f1), 5.4.0b12, 5.4.3f1
Regression introduced on: 5.4.0b12
Not reproducible on: 5.4.0(a4 to b11), 5.3.4p1, 5.3.6p7

Note: due to this issue, the last line of Text (if there Text assigned) is not shown.

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.