Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Error Assembly-CSharp.dll

Discussion in 'Editor & General Support' started by francy11, Sep 6, 2018.

  1. francy11

    francy11

    Joined:
    Apr 2, 2015
    Posts:
    5
    Hello, I have a strange error, I am using Visual Studio Code and Unity 3D (last stable) on Windows 10.
    When I save a script in Code, sometimes I get this error in Unity Console:

    Copying assembly from 'Temp/Assembly-CSharp.dll' to 'Library/ScriptAssemblies/Assembly-CSharp.dll' failed

    So I can't play the game and I have to restart Unity. This is annoying. How can I do?
    Thanks to all, sorry for english.
     
  2. francy11

    francy11

    Joined:
    Apr 2, 2015
    Posts:
    5
  3. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,672
    There should have been more error info next to that line.
    Usually it means something is locking that file, like antivirus, etc.

    But please attach Editor.log, it may contain more info.