Hi! We’ve been running into a bug with instantiating prefabs in the Editor. Often, a duplicate prefab appears in the hierarchy after saving and reloading the scene.
Ubuntu 16.04.1 in VMWare
Unity 5.3.4f1 and 5.4.0p1
To reproduce:
Create a simple prefab with a basic C# script attached
Create a new scene and drag the prefab into the hierarchy
Save and reload the scene
There are now two instances of the prefab in the hierarchy
I would like to vote up this bug. I ran into it in Xubuntu 16.04 / Unity 5.4.1f1. I had my editor set up in columns, with the scene hierarchy in the far left, the #Scene tab in the middle, and the Project tab on the right. If I dragged a prefab from the Project tab across the 3D Scene window and to the Hierarchy, I would get two instances of the object.
What’s really brutal is that the “extra” GameObject doesn’t show up in the scene hierarchy until you restart Unity (edit: or reload the scene, I guess)–it just persists invisibly, causing mischief.
Fortunately if I instantiate a prefab by dragging directly into the 3D scene view, I don’t observe the problem, so at least there’s a workaround.