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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
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.