The tutorial says I can make a prefab by grabbing an object and dragging it into the project panel. But that doesn’t work.
When I am dragging an object, as soon as I reach the edge of my monitor, my cursor suddenly jumps back to the opposite edge of my monitor, and I am merely dragging the object around in my scene view. I literally cannot bring the cursor to the other monitor where my project panel is.
If I resize my windows so the project panel in on the same monitor, it STILL won’t create a prefab. When I drag the object to that portion of the window, it just acts like I am moving my object in the scene view, but just moving it to a portion of the scene that is “concealed” by the other panels. Yet these are not floating panels; I am definitely moving the object outside of the scene view’s panel, but the editor doesn’t seem to acknowledge this.
Please advise.
Unity really needs to make their manuals clearer. I had the same problem.
Go to Assets->Create->Prefab, you get a blank prefab in Project view.
Now try to drag your object from the scene to the blank prefab . . . annnnnnnd you STILL can’t do it!
Because you have to go to Hierarchy view (and have Project view visible) and drag the name of the object from H view to the blank in P view.
NOW you should have a prefab.
1 Like
You don’t need to do the assets/create/prefab thing, just drag the object (from the hierarchy) into the project view.
–Eric
1 Like
Beginner here… Someone please help… I dragged to create a prefab of a cube and it was created but the changes I make on this is not actually coming in the cube… Changes like making it trigger and stuff
Sorry to necropost Eric5h5 but that suggestion doesn’t work. I’m just trying and it doesn’t. Using Unity 2019.3.7f1. Still googling how to do that… Here’s a GIF:
dismalshabbyhornet
EDIT: Nevermind, figured it out. You need to set multiple gameobjects to be children of an empty gameobject. Then, just drag that gameobject to the Project view. I can’t believe I lost almost 1 hour googling why it didn’t work. This stuff should be said in the manual or even better improve the UX and allow multiple objects to be dragged and create a prefab out of it.
1 Like
my prefab button is greyed out how do I fix this?
in my case, Push play button and cancel then it works.
i hope yours works.