Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug Failed copying file

Discussion in '2020.2 Beta' started by aybe, Sep 2, 2020.

  1. aybe

    aybe

    Joined:
    Feb 20, 2019
    Posts:
    55
    Unity 2020.2.0a21.2837 won't le me drag and drop any files to the Project Browser window:

    Code (CSharp):
    1. Failed copying file C:\Temp\bla.cs to Assets/bla.cs.
    2. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    It used to work but now refuses to work, I've even tried to reinstall it but that didn't help at all.

    Any ideas ?

    Thanks
     
    mahdi_jeddi likes this.
  2. DK_A5B

    DK_A5B

    Joined:
    Jan 21, 2016
    Posts:
    110
    I started having this problem with 2020.2.0a.21 as well. I just installed 2020.2.b1.2959, and I'm still having the issue. I do not have the problem with 2020.1, 2019.4, or 2018.4.

    I get this error whenever I drag and drop a file from Explorer (Windows 10) into the Project window in Unity. This is actually a significant time waster, because it means that every time I want to import a new external asset into unity (texture, sprite, model, etc.) I have to duplicate the file, manually move it into the Unity project directory using Explorer, and then go back into Unity and refresh the Project window so that the asset shows up.
     
    horatiu665 likes this.
  3. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,285
    Hey, thanks for the report. We are testing a fix for this. Sorry for the inconvenience!
     
    LeonhardP and aybe like this.
  4. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    To add my experience. I have the same problem but only if I drag more than one file, if this helps to fix the issue...
     
  5. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,555
    I have this issue as well, dragging any .cs file into project. I have to use Windows Explorer to copy into the project. Edit: 2020.2.0b1
     
  6. Gigacee

    Gigacee

    Joined:
    Mar 4, 2015
    Posts:
    53
    Same issue in Unity 2020.2.0b1 here
     
  7. DK_A5B

    DK_A5B

    Joined:
    Jan 21, 2016
    Posts:
    110
    I just updated to 2020.2b2.3094, and the issue is still there.

    Do you think the fix will make it into 2020.2b3? Or is it likely to be later?
     
  8. ReignOfDave

    ReignOfDave

    Joined:
    Oct 22, 2015
    Posts:
    51
    I had this issue in b1 but it seems to be fixed in b2.
     
  9. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
  10. ZaherHa

    ZaherHa

    Joined:
    Jul 28, 2018
    Posts:
    5
    Same problem here 2020.2.0b2
     
  11. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    It says fixed in 2020.2, but in what version? b3? I wonder when that will land...
     
  12. Weidz_

    Weidz_

    Joined:
    Feb 15, 2018
    Posts:
    41
    2020.2.0b4 :
    Copying file failed: Copying Resources/unity_builtin_extra to Temp/copyassets/unity_builtin_extra
    when trying to upgrade builtin materials to HDRP
     
    Fressbrett likes this.
  13. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    Wonder if this is fixed in b5...
     
  14. Klausology

    Klausology

    Joined:
    Aug 29, 2017
    Posts:
    131
    It works in b5. Just tried it myself.
     
    LeonhardP likes this.
  15. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    Excellent, time to update then!
     
    Klausology likes this.
  16. Fressbrett

    Fressbrett

    Joined:
    Apr 11, 2018
    Posts:
    97
    Same problem with unity 2020.1.8f1
     
  17. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    If you're experiencing this issue in 2020.1 or 2020.2.0b5 then it is a different problem to the one that was discussed originally in this thread. Please submit a bug report for it, ideally with a minimal reproduction project so we can have a look at it.
     
    richardkettlewell likes this.
  18. alfish

    alfish

    Joined:
    Apr 5, 2017
    Posts:
    26
    I've just reported a bug similar to this on 2020.3.36f1~37f1 which happens on Linux when you drag a file over Unity but instead of releasing the mouse button, you don't drop it on Project window. It shows error dialog like:
     
  19. factober

    factober

    Joined:
    Sep 15, 2023
    Posts:
    5
    Same issue in Unity: 2022.3.12f1, 2022.3.13f1 and 2023.1.20f1.
    Can't drag and drop: .unitypackage, .fbx.

    Issues I am getting:

    On first drag and drop it failed with this error message:
    "Failed copying file unity/external to Assets/external.
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)"

    On subsequent drag and drops it failed continuously with the same error message:
    "Assertion failed
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:197)"

    Tried to find a solution all over the internet. I didn't find any solution to this issue.
     

    Attached Files: