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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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