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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #1013029