Search Issue Tracker
By Design
Votes
0
Found in
2019.2.0a10
Issue ID
1138054
Regression
No
Applied nested prefab instance in prefab mode is duplicated in variant instance in the scene
Steps:
1. Create the three prefab assets ('Root', 'Nestee1', 'Nestee2') and instantiate their instances
2. Add Nestee2 to Nestee1 and add Nestee1 to Root in the Hierarchy
3. Apply Nestee1 to Root
4. Create a variant of 'Root' prefab asset (with name 'Root Variant')
5. Instantiate Root variant asset
6. Drag 'Root' asset on top of 'Root Variant' asset and agree to replace anyway
==>
So, we replaced Variant asset with the Base asset and we have two identical Base instances in the Hierarchy
7. Open 'Root' asset and apply Nestee2 to Nestee1 asset
8. Back to the Scenes
==>
Previously Variant instance has two Nestee2 instances
Please take a look into attached movie for details
Also Repro in 2019.1.0b9 (9e7a9bd9b727), Version 2018.3.0b1 (7f2ac4f15f13)
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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Resolution Note:
This is by design. The inner most prefab is considered and added prefab to the middle prefab but at the root. Since the root of the second prefab is not modified the inner prefab is still considered as added there and at the same time the middle prefab also get the objects added, this is why they appear twice in the second prefab.