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 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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
Add comment