Hello all,
Having a strange issue with a ScrollView/Grid set up I have in my scene.
I have a scrollview object as the parent (UIPanel & UIScrollview) and an empty gameobject with UIGrid on it. I have same-sized prefabs instantiated into the grid when user clicks a button. Another button deletes individual prefabs in the grid. Once they're removed, for some reason the UIGrid shifts the Grid object's transform to the left a couple units, each time one is removed.
I call UIReposition and UIPanel refresh after the delete, still no use. Strangely, if I execute the Grid though in the inspector, it returns back to how it should be.
Really strange because I have other grids working totally fine, doing practically the same thing. Any insight on this?