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
- Incorrect Shader keyword activation for Shadows when no Light is present in URP
- Editor freezes when loading a specific AssetBundle
- WebGPU builds with Multithreading enabled crash on Safari
- Set as Value in UI Builder doesn't work across all properties.
- Reorderable ListView inside a ScrollView has a glitchy behavior when trying to reorder items
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