I have Vertical layout group,
where i spawn images that have layout element on them. Everything works fine untill i use Destroy() on one of the images.
Error message pops up:
“Can’t remove RectTransform because
Image (Script), LayoutElement (Script)
depends on it.”
Is this a bug or did i do something wrong?