I was attempting to import a .c4d asset using drag-and-drop when unity halted and warned me that it needed to install a new importer so that it could handle that file type, but it had to be run in administrator mode to do so.
So I exited unity, restarted it as admin, and attempted to import the file - but drag and drop wasn’t working any more. So I had to use the menu function to import the c4d file. That succeeded, so I’m guessing whatever mods unity needed to make had been made.
But now all drag-and-drop functionality is disabled. When I attempt to drag an asset from the windows desktop onto the asset folder I just get the little black slashed circle. I cannot drag it to a subfolder either. This is for any asset type at all, textures or fbx files or whatever.
I tried exiting unity and restarting - no difference.
I tried rebooting windows - no difference.
I tried creating a completely new project and importing an asset - no difference.
I tried using windows explorer to manually copy assets into the folder - that works, but drag and drop remains disabled.
Currently I can only import assets by menu, not by drag and drop. The only thing left to do I can think of is uninstall Unity and then reinstall but it seems a bit desperate.
Has anyone encountered this problem and do you know how to fix it?
Problem solved by a clever person on Reddit: I had to recreate the “explorer” task with administrator privileges. Here’s how:
If the drag and dropping isn’t working on any other non-Unity related applications then you need to run your explorer as administrator.
To do that open the Windows Task Manager, end the explorer.exe process and click on the ‘Show processes from all users’ button. Now just go to the Applications tab in the Task Manager, hit ‘New Task…’, write ‘explorer’ in the input field and check the box ‘Create this task with administrator privileges’.
In my Windows 8 64 bit version Task Manager is slightly different. There is no “Show processes from all users button” and nor Application tab. I can “end task” and I can do File>Run New Task that lets me add Explorer and click on the Run As Administrator check box. However that doesn’t correct the problem for me.
The only solution I’ve fond is to click on Assets at top of Unity Editor and choose “Show in Explorer” then do a copy from that folder to the Unity Project Assets Folder, all within Explorer, to bring the object in.
Anyone else try this solution for Win 8 and it wasn’t fixed?
I had the same problem. It started after adding a new script. My problem was that suddenly several components of the same type was added to some of the objects. The new script was at the object twice! After removing these duplicates recompiling code and running the game everything works fine for now. Drag and drop is again possible.
So I guess you should try to check the gameobjects you created when the problem started occuring.
Believe me or not but leaving Unity for a while in the empty project have SOLVED the issue.
It did not work with coffee break for me :), but when I left it when smoking cigarette, drag and drop starts working after when I come back !!! hehehe.
On Windows 8.1, I found that the problem was solved by moving the unity project files out of my documents ‘library’ and to “C:\Users\Username\Unity projects”. I noticed the address was something weird prior to moving it, so decided to try it and it worked! No other suggested fixes did anything, so I highly recommend Windows 8.1/Unity 5 users try this before reinstalling anything
Bumping this. I have the same problem on Win8.1 64-bit. None of the fixes above have worked, including the latest (moving the project files). Uinstall/Reinstall didn’t do anything either. Neither did using an older version of Unity. The problem is obviously Windows related. As an interesting side note, I have COMPLETELY disabled UAC. I did this both in the control panel AND in the registry. UAC/“Run as Admin” isn’t even a thing on my machine.
Not sure how relevant it is now but, pressing the Esc key in windows explorer while holding down mouse button one on some file(any) seems to have fixed it.
I couldn’t fix it, but here is my work around. Place the assets into the asset folder manually.
for me it was located here.
C:\Users\Public\Documents\Unity Projects\Project_Name\Assets