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
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
Add comment