Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4.0f1
2019.1.14f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1176628
Regression
No
Duplicating a prefab instantiates a modified object when the prefab is a child of another prefab
How to reproduce:
1. Open the attached 'project-1176628.zip' project
2. In the Inspector window select 'Cube' > 'Sphere' and duplicate it (Ctrl+D)
Expected result: an exact duplicate of 'Sphere' is created
Actual result: a modified 'Sphere' object is created
Reproducible with: 2018.4.7f1, 2019.2.2f1, 2019.3.0a12, 2020.0a1
Could not test with: 2017.4.32f1 due to old prefabs system
Notes:
1) Sphere inherits Position offset, Rotation and Scaling from its parent object
2) To reproduce this behavior, the Sphere object has to be a prefab attached to a parent object which is then turned into a prefab
3) Duplicating an already duplicated object will create it in the right position
4) Copying and pasting the object creates it in the right position
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
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
This is a duplicate of issue #1157320