Failed to Copy Assembly-CSharp.dll on Script-Compilation
Since using Unity 2018.2 and later versions with my project i often get the error: "Copying assembly from 'Temp/Assembly-CSharp.dll' to 'Library/ScriptAssemblies/Assembly-CSharp.dll' failed".
I only get this error after changing something in a Script and switching back to Unity. I can fix this only by restarting Unity or by going back and change the script so it's missing a ";" at the and of a line, then switch to unity so an script error shows, and then putting the ";" back, because then everything works fine.
Is there a way to resolve the problem? Struggling with always needing to quick fix it, instead of overall fixing it is not so nice.
Your answer
![](https://koobas.hobune.stream/wayback/20220612174915im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
NULL REFERENCE DRVING ME INSANE!!! HELP!!!! 1 Answer
Error with String in code 1 Answer
Microsoft Visual C# compiler error 0 Answers
[Help] I keep getting an error with blank message when I create a C# script. 3 Answers
ForcedScopedThreadAttach 0 Answers