I was making a layout size fitter script for auto size the content entity under a scrollview according to number of content’s children and their size.
a funny situation happened to me , in editor the content only have 3 Group entity , but somehow entity.children.length return 4 and one of them doesn’t have element and caused undefined error.
I tried to log them our and got a ghost untitled entity
how can i remove that ghost thing ?
Even i’ve tried delete the whole Content entity and recreate another one, the ghost thing still here. looks like it created by Scrollview component ?
oh! it suddenly just gone for some reason