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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #1013029