Search Issue Tracker
Duplicate
Votes
1
Found in
2018.1.0b5
2018.1.0b8
Issue ID
1004948
Regression
Yes
Instantiating a RectTransform hierachy results with an incorrect position of a child RectTransform
How to reproduce:
1. Open the attached project
2. Enter Play mode
3. Expand Canvas hierarchy
4. Notice that "slot_layout(Clone)"/.../"DurabilitySlider" has different RectTransfrom values from the original
Expected result: "slot_layout(Clone)"/.../"DurabilitySlider" has the same RectTransform values as the original game object
Actual result: "slot_layout(Clone)"/.../"DurabilitySlider" inherits some RectTransform values from its parent object "Info Panel"
Not reproducible with: 2017.2.1p4, 2017.3.1p2, 2018.1.0b4
Reproducible with: 2018.1.0b5, 2018.1.0b9, 2018.2.0a2
Note:
- Changing the Anchor presets for DurabilitySlider GO causes various weird Rect Transform value changes after instantiation
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
hwaet
Mar 08, 2018 17:39
This issue is not just limited to instantiation. I have experienced the same issue from saving and loading a scene that contains a rect transform.