Search Issue Tracker
By Design
Votes
0
Found in
2019.2.0a9
Issue ID
1166636
Regression
No
[Improved prefabs] Duplicate gameObject gets created when a gameObject is applied as an override to a cyclic prefab
Duplicate gameObject gets created when a gameObject is applied as an override to a cyclic prefab. Refer to the attached video.
Steps to reproduce:
1) Create a new project.
2) Create empty gameObject > Create a prefab "A" by dragging to the project browser.
3) Drag this prefab from the project to hierarchy and make it as a child of original prefab > Make "A" child of "A" prefab, making it cyclic.
4) Create an empty gameObject as a child, to the child prefab "A"
5) Select the child "A" > In the override window select "Apply all".
Actual result: Duplicate gameObject gets created.
Expected result: Override gets applied and duplicate gameObject does not get created.
Occurs on: 2019.3.0a8, 2019.2.0b8, 2019.1.0f2, 2018.3.9f1, 2018.3.0b6
Environment: Both Windows and Mac.
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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Resolution Note:
You have two instances of the same prefab. Adding a GameObejct to the prefab will make both instances include the added GameObject