For some reason I cannot drag my prefabs from the Project folder into the scene hierarchy.
In the tutorial I'm watching the guy just drags and drops a prefab for a cube object from his project folder into the hierarchy and it's added to the scene. When I try this, however, it does not allow me to drop (shows the circle with the line through it icon). Why? I cannot continue with the tutorial until I can fix this. I am a beginner. Thank you for your help. Tutorial: http://vimeo.com/album/1512103/video/18905787 (2:58-3:04 is what I'm talking about he just drops it in. It doesn't let me do that.)
tl;dr: created the object, then dragged it into the prefab, and then deleted the object from the hierarchy, which after I attempted to drag the prefab into the hierarchy to create a new instance in the scene. It did not let me drag/drop it. This is my problem.
Answer by Narv · Jul 16, 2013 at 07:11 PM
I assume the prefab is created already right? Since you're a beginner, these are the basic steps for creating a prefab:
First create the gameobject you want to prefab first like normal.
Make a new .prefab file by right clicking the project and clicking Create > Prefab.
Drag the gameobject into the ,prefab file, once that is done, you can delete the object in your hierarchy
you can now drag the prefab wherever you want.
From watching the section and skipping to a bit before, you see the guy creates the .prefab file and drags the objects .prefab file and then deletes them and drags those prefabs in.
Thank you! I deleted my old prefabs and remade them (which was tedious, but it fixed them!) Thanks for your help.
Answer by thesage1014 · Sep 07, 2018 at 07:08 AM
I was able to fix this issue by directly modifying the .prefab file with a text editor. At line 30 for me, there was a line m_IsPrefabParent: 0
which I changed to m_IsPrefabParent: 1
Unity listed that the source prefab was missing, so I'm guessing I had an issue with nested prefabs.