Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a6
2019.1.0a1
2019.2.0a1
2019.2.0b7
2019.3.0a1
Issue ID
1167448
Regression
Yes
GameObject with a broken Prefab connection will override its connection when a new Prefab with the same name is created
How to reproduce:
1. Create a new project
2. Create a Cube GameObject and an empty GameObject in the Scene
3. Drag the Cube GameObject to the Project window to create a Prefab
4. Delete the Cube Prefab
5. Rename the empty GameObject to Cube
6. Drag the empty GameObject to the Project window to Create a Prefab
7. Inspect the original Cube GameObject
Expected result: The GameObject with broken Prefab connection does not change
Actual result: The GameObject with broken Prefab connection overrides its connection
Reproduced with: 2018.4.3f1, 2019.1.9f1, 2019.2.0b9, 2019.3.0a8
Notes:
Notice that the override will cause the GameObject to change all its Components and their settings.
The issue does not reproduce if the project is reopened after step 4.
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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note:
It is by design that an asset with the same name will get the same GUID (within a Unity session) and there the Prefab system thinks that it needs to re-merge the instance.