Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a6
2018.3.0b8
Issue ID
1096795
Regression
Yes
Prefab data does not override when changes are made in Rect Transform
How to reproduce:
1. Open project "Rect0b10.zip"
2. Delete "SubCanvas" from the Hierarchy
3. Enter Play Mode and check SubCanvas(Clone) Rect Transform (Should be Bottom-Left)
4. Exit the Play Mode
5. Drag "SubCanvas" prefab from UI folder to Canvas in Hierarchy, making "SubCanvas" child prefab
6. Change Rect Transform to Strech-Strech
7. Delete "SubCanvas" prefab from the Hierarchy
8. Enter Play Mode again, check the "SubCanvas(Clone)" Rect Transform
Expected Result: The changes, that were made when "SubCanvas" was in Hierarchy have had overridden the Rect Transform change.
Actual Result: Changes have not been overridden and Rect Transform stayed "bottom-left".
Reproduced with: 2018.3.0a6, 2018.3.0b1. 2018.3.0b10, 2019.1.0a9
Notes: Does not reproduce in 2018.2 and 2018.3.a01 - 2018.3.a05. There was an "Apply" button that applied the changes, now it simply does not override.
The video was made by the user.
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
Resolution Note:
Default override properties do not propagate to Prefab instances, including the instance of a base Prefab inside a Prefab Variant. See the documentation section "Alignment is specific to Prefab instance":
https://docs.google.com/document/d/1MjxUjT1krD4iB91kKpUIAF7NMr3gUrvo5x3EXi9AGbw/edit#heading=h.hq5our40rul5