Search Unity

Resolved Can't drag and drop files to editor or between assets folders

Discussion in 'Editor & General Support' started by LeandroBiloni, Apr 22, 2020.

  1. LeandroBiloni

    LeandroBiloni

    Joined:
    Mar 31, 2020
    Posts:
    10
    Hi, im new to unity and im having some problem with my project that wont let me drag and drop filles from explorer to editor or files that are in the project to another folder in the project. Im using version 2019.2.17f1. I tried deleting the library folder, executing explorer.exe and unity both as admin or not admin like i saw in other posts and it doesnt work. If i create a new project in that version or 2018.3.0f2 i can drag and drop normally. It only happens with that project. I dont know if i need to upload some file here for someone to see or i need to give some more info, so if i needed just tell me.
    Thanks.
     
    RonanMorelli likes this.
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    What happens when you just try to drag/drop files all within the editor?
     
  3. LeandroBiloni

    LeandroBiloni

    Joined:
    Mar 31, 2020
    Posts:
    10
    hi, mouse pointer is replaced with a prohibited icon like this one asd (2).png
     
  4. trurkowski

    trurkowski

    Joined:
    Sep 3, 2019
    Posts:
    6
    I just got this too, and it seems to be only for certain folders. Can't Figure out why. Would love to hear if anyone has solved it
     
    Michael_Berna likes this.
  5. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    This happens to me when I have something in the search box.
    test.jpg
     
  6. trurkowski

    trurkowski

    Joined:
    Sep 3, 2019
    Posts:
    6
    I'm pretty sure that any folders that I've specifically created outside of unity, and placed directly into the asset hierarchy (to be imported next time I opened the project) seemed to cause this issue.

    I solved it by duplicating the folders within unity and deleting the old ones, removing the lil "1" unity places on the end -

    fixed it for me! Though I only had to do this for objects that weren't being directly referred to anywhere else. Could be dangerous if you have lots of files in there being referred to.
     
  7. NeedsLoomis

    NeedsLoomis

    Joined:
    Mar 22, 2017
    Posts:
    57
    Im running into this issue now. Same as turkowski, duplicated folders work fine, but standard ones dont. Large project with lots of prefabs that would break if I had to do it this way. Pulling my hair out trying to find the difference between the folders (permissions, metadata, etc).
     
  8. Darkgaze

    Darkgaze

    Joined:
    Apr 3, 2017
    Posts:
    395
    Same here. Sometimes moving stuff around is not possible. This used to happen when you had a file with the same name but now I can't even drop files from outside...
     
  9. sederfan

    sederfan

    Joined:
    May 2, 2022
    Posts:
    4
    I'm new to unity myself but I figure it out that when I was trying to drag files between folders I dragged them into the bar on top of them which was showing the path rather than dragging them to the panel or window (I don't know what it's called) on left which shows you your assets folders and packages folders


     
    Darkgaze likes this.
  10. LeandroBiloni

    LeandroBiloni

    Joined:
    Mar 31, 2020
    Posts:
    10
    Hi, looks like i never commented again. I noticed that this happened in the project where i was using google drive sync and it sort of locked the folders. When i stopped using it and deleted the files it created in each folder i was able to drag and drop files normally.
     
  11. Darkgaze

    Darkgaze

    Joined:
    Apr 3, 2017
    Posts:
    395
    Oh. I'm using Google Sync too. O_O... Probably that? Thanks!
     
  12. Latenine

    Latenine

    Joined:
    Sep 2, 2022
    Posts:
    1
    Same problem, as someone pointed out this is probably because I have my project in Google Drive.

    What worked for me though is: Right-click file you want to move > Show in Explorer > Move from the explorer to desired location
     
    fangzhoumihoyo likes this.
  13. madhur_novotrax

    madhur_novotrax

    Joined:
    Mar 28, 2023
    Posts:
    3
    I Encounterd this issue, it was because unity hub was running by default with administrator, change the settings and it should work fine