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
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)
-
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.
-
undefined666
Aug 05, 2018 04:42
UPD:Please consider issue in the comment above as invalid.It was due to incorrect RectTransform setup.
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #1013029