Search Issue Tracker

Fixed in 5.6.0

Votes

0

Found in

5.5.0b11

Issue ID

851570

Regression

Yes

UI objects with Content Size Fitter component have their Height set to incorrect values when opening the project on 5.5

UI

-

UI objects with Content Size Fitter component with it's Vertical Fit property set to Preferred Size have their Height set to incorrect values when opening the project on 5.5 when those UI elements were initially created on an earlier version of Unity

To reproduce:
1. Open the attached project on any version earlier than 5.5 (preferably 5.4 or 5.3)
- Notice how the UI looks and that game objects inside the canvas with Content Size Fitter's Vertical Fit set to Preferred Size have their Height set to an expected value
2. Close the project and open it on any 5.5 version of Unity
- Now the UI looks different because game objects inside the canvas with Content Size Fitter's Vertical Fit set to Preferred Size have their Height set to incorrect values that don't make sense considering the size of the text

Reproduced on: 5.3.6p7 to all 5.6 versions, 5.4.3f1 to all 5.6 versions, 5.3.6p7 to 5.5(from b7 to f1), 5.4.3f1 to 5.5(from b7 to f1)
Not reproducible on: 5.3.6p7 to 5.4.3f1

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.