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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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