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
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
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.