Search Issue Tracker

Duplicate

Votes

0

Found in

2018.2.0a2

2018.2.0b10

Issue ID

1060589

Regression

Yes

RectTransform Position and Width properties remain inaccessible after removal of the layout components

IMGUI

-

The RectTransform Position and Width properties remain inaccessible after removal of LayoutElement and VerticalLayoutGroup components

To reproduce:

1. Download attached project "TestBed.zip" and open in Unity
2. Open "SampleScene" scene
3. Select and expand the "Canvas" in Hierarchy window
4. Select "Group" gameObject
5. Remove the "VerticalLayoutGroup" component
6. Expand "Group" gameObject
7. Remove the "LayoutElement" component

Expected results: The RectTransform Position and Width properties on the Element gameObject becomes accessible in the Inspector
Actual results: The RectTransform Position and Width properties on the Element gameObject remain inaccessible in the Inspector

Notes:
- This issue reproduces on both Windows and OSX
- Reloading the scene reinstates access to the properties

Reproduced on Unity 2018.2.0a2, 2018.2.1f2 and 2018.3.0a5
Could not reproduce on Unity 2018.1.9f1 and 2018.2.0a1
Regression on Unity 2018.2.0a2

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.