Search Issue Tracker

Duplicate

Votes

6

Found in

2018.2.0a1

2018.2.1f1

Issue ID

1067148

Regression

Yes

RectTransform component is partially locked after removing a HorizontalLayoutGroup component from a parent GameObject

uGUI

-

Repro steps:
1. Open user attached project
2. Create a Panel in the Hierarchy
3. Add an empty GameObject as a child to the Panel
4. Add a HorizontalLayoutGroup component to the Panel
5. Notice that the RectTransform of the child GameObject is partially locked
6. Remove the HorizontalLayoutGroup component from the Panel
7. Inspect the child GameObject of the Panel again

Expected: The RectTransform of the child GameObject isn't locked
Actual: The RectTransform of the child GameObject is locked

Reproducible with: 2018.2.0a1, 2018.2.2f1, 2018.3.0a7
Not reproducible with: 2017.2.3p3, 2017.4.9f1, 2018.1.9f1

Comments (6)

  1. bovesan

    Sep 02, 2018 16:15

    This is flagged as a duplicate, but how can I find the other report? This is driving me crazy in 2018.2.4f1.

  2. undefined666

    Aug 05, 2018 04:42

    UPD:Please consider issue in the comment above as invalid.It was due to incorrect RectTransform setup.

  3. undefined666

    Aug 05, 2018 04:23

    Whole HorizontalLayoutGroup component works quite unstable.
    Another issue:if you add layoutgroup component to the panel with 2 nested Images both images disappear.Further manipulations with HorizontalLayoutGroup&RectTranform component doesn't affect anything.
    Any known workarounds are highly desirible since this crap is blocking me.Arrr.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.