Search Issue Tracker

Won't Fix

Votes

5

Found in

5.5.1f1

Issue ID

880220

Regression

No

Canvas with Content Size Fitter not resizing if UI elements are instantiated to its child Canvas when using WaitForSeconds

UI

-

How to reproduce:
1. Open the attached "layout_group_bug" project
2. Enter playmode, notice how "OutterContainer" Canvas isn't resizing when it should be (go to pause mode, to see bug more clearly)
3. Turn off the playmode, open "Test" script
4. Comment 17th ("yield return new WaitForSeconds(0.1f);") line of the script and enter playmode
5. Notice that the "OutterContainer" is resizing correctly

Reproducible with - 5.6.0b7, 5.5.1p3, 5.5.0f3

Note: Project isn't working with 5.4 version. Couldn't recreate identical project as well, since Control Child Size setting in Vertical Layout Group was introduced in 5.5

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.