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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
This is a duplicate of issue #1013029