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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment