Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    5,920
    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:
    5,920
    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:
    5,920
    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:
    5,920
    linked to bug report 1304986
     
  5. laurentlavigne

    laurentlavigne

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