Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question UI Object Instantiating in Wrong Position, Fixes itself when Inpector Value is Changed

Discussion in 'UGUI & TextMesh Pro' started by Vio_Van_Helsing, Apr 9, 2024.

  1. Vio_Van_Helsing

    Vio_Van_Helsing

    Joined:
    Mar 17, 2020
    Posts:
    2
    Pretty much the title, I have a scroll view that's meant to hold some rect transforms which are instantiated by script. They stack up nice and neat -- after the first one spawns. The first one of the batch spawns above the scroll view. However, if I go to the inspector and change literally any value on the position, vertical layout, whatever, it fixes itself. And afterwards, when I go to revert that change, it still looks fine. Is this a bug, or could it be an issue with how the object is being spawned in?