Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.3.12f1
2019.1.0b10
2019.2.0a10
2019.3.0a1
Issue ID
1149316
Regression
Yes
GameObject disappears and Prefab inherits its Components when Prefab is identically named and has unapplied Component
How to reproduce:
1. Open the attached "case_1149316.zip" Unity project
2. Open the "Parent" Prefab Variant in Prefab Mode
3. Swap the order of the GameObject and the Prefab in the "Parent" Prefab Variant
4. Save the "Parent" Prefab Variant and re-open it in Prefab Mode
Expected result: "Child" Prefab and "Child" GameObject remain in the "Parent" Prefab hierarchy
Actual result: "Child" GameObject disappears and its Components merge with the "Child" Prefab Components
Reproducible with: 2018.3.14f1, 2019.1.0f2, 2019.2.0a13, 2019.2.0a2
Not reproducible with: 2018.3.11f1, 2018.4.0f1, 2019.3.0a3, 2019.1.0b9, 2019.1.0f1, 2019.2.0a9
Notes:
1. The issue is reproducible when the child GameObject is above the child Prefab inside a Prefab Variant, the child Prefab has an unapplied Component, and both the child GameObject and the child Prefab have identical names. Not reproducible on 2018.4.0f1 and 2019.1.0f1 versions.
2. The issue has been fixed in 2019.3.0a3
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Fixed in 2019.3.0a3 and higher
Not reproducible in 2018.4.6f1 and higher in 2018.4. stream (might not reproduce in an earlier version of 2018.4)