How can i can prevent overlapping child items in grid layout when i set sibling index or destroy child game object. I have used “LayoutRebuilder.ForceRebuildLayoutImmediate(parent.GetComponent());” for game object parent but it seems not work. Is there anyway that can refresh grid layout immediately when add children and set sibling index.
It seems all the layout classes in UGUI have weird little “oops, didn’t update” warts like this… I find them all the time.
To fix them I just disable / enable some GameObject above the hierarchy where I’m working. This action almost always fixes the layout flow.