Layout Group Changes in 5.5 ( Breaking Changes? ) Please explain!

Hi,

I want to highlight a very concerning change to the uGUI layout system in the 5.5 update. There has been an introduction of new layout ground properties example: “Control Child Size”.

As far as I can see there has been no mention of these changes in any of the release notes for 5.5 RC’s or patches / betas onward. There is no documentation available for these new controls in any manual or scripting reference.

It is as if someone at Unity mistakenly committed development code and QA didn’t catch it because these changes appear to be MAJORLY broken!!! After their introduction layout group controlled UI elements no longer behave by predictable rules, even when constrained by parent properties some children are often still able to be manually manipulated in the editor ( Didn’t happen in 5.4 ) and other times layout groups cause destructive changes to child element properties ( mostly collapsing children sizes ). These destructive changes cannot be undone, and if you happen to use layout groups in any nested context you will discover how damaging these “Hidden features” are.

You really should give some more info on what you mean by broken so that others can see if they are having similar issues. I upgraded to 5.5 and have personally not had any issues with any of my layout groups.

If you can demonstrate how these features have caused a regression with a sample project then do please file a bug report.

I’ll put together my own sample asap.

Anyhow here are two existing bug reports for a directly related issue:
https://issuetracker.unity3d.com/issues/layout-groups-with-contentsizefitters-are-not-resizing-if-input-field-component-is-located-in-a-parent-object

https://issuetracker.unity3d.com/issues/canvas-with-content-size-fitter-not-resizing-if-ui-elements-are-instantiated-to-its-child-canvas-when-using-waitforseconds

Here are two forum threads of others also experiencing the same issue:
https://forum.unity3d.com/threads/vertical-horizontal-layout-group.445076/

(This one is marked as fixed… But its totally not…)
https://forum.unity3d.com/threads/ui-verticallayoutgroup-changes-broke-my-game-ui.441291/

Regardless of there being a bug or not, there is still no documentation for “Control Child Size” property in release notes or Unity documentation.

I do agree that the feature is undocumented, so it’s true purpose is confusing. I may just be lucky or haven’t hit the exact setup that will produce the issue. Hopefully they will be able to look into it.

1 Like