Search Issue Tracker
By Design
Votes
0
Found in
2019.3
2020.1.0a24
2020.2
Issue ID
1225618
Regression
No
Grid Layout Group's placement is not updated when replacing contained GameObjects
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Click on any of the Buttons
Expected result: Layout's position is updated
Actual result: Layout's position is not updated
Reproducible with: 2019.3.6f1, 2020.1.0b2, 2020.2.0a4
Couldn't test with: 2017.4.38f1, 2018.4.19f1 (All UI Components are broken from downgrading)
Note: Interacting with the Grid Layout Group Component's settings fixes its placement
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (2020.2.X):
There is a content size fitter on the ScaleableWindow GameObject. As per the warning on the component "Parent has a type of layout group component. A child of a layout group should not have a Content Size Fitter component, since it should be driven by the layout group." Disabling the fitter everything works properly.