Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug a UI element under a parent that's in a vertical layout group cannot be moved

Discussion in 'UGUI & TextMesh Pro' started by laurentlavigne, Jan 10, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,132
    this setup
    upload_2021-1-9_17-59-18.png
    if you add an image as child of mission that image cannot be moved
    it seems that there is a bug where the layout group freeze direct transform of children of group members.
     
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,132
    additional bug:
    duplicate text twice
    it will be under each other as if layout groupd acted on children of its children
    (it shouldn't)
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,132
    additional bug #2: disable the layout group and try moving children of children = you can't
    but you can move direct children.
    so in summary the bug is that children of children are erroneously frozen in transform by a layout group
    upload_2021-1-9_18-4-13.png
     
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,132
    linked to bug report 1304986
     
  5. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,132
    extra bug: when the layout group is deleted the children of children are still frozen!