- Home /
Moving file failed
Hello,
Recently when I have opened my unity project, I have been getting a very strange error upon compiling any of my scripts:
"Moving Temp/Assembly-CSharp.dll to Library/ScriptAssemblies/Assembly-CSharp.dll: The system cannot find the file specified."
Since getting this error, all of my scripts have not been working, essentially halting the progress on my game for the last couple weeks. When I checked the ScriptAssemblies folder, there was no file there.
Things I have tried so far:
Restarting Unity
Restarting Windows
Uninstalling and reinstalling Unity
Manually creating a blank Assembly-CSharp.dll file in ScriptAssemblies
Creating a new project and importing my assets over
Unfortunately none of these attempts worked, implying the problem stems from something much larger than Unity or my project themselves. I would really love and appreciate any advice on the matter.
Thank you!!! :)
Answer by DenisTribouillois · Jul 21, 2016 at 08:23 AM
Try to run Unity as administrator.
Also, see this thread which seems to be the same problem than yours and it suggests some fixes:
http://answers.unity3d.com/questions/24571/moving-file-failed.html
Answer by Wes_VirBELA_Dev · Feb 17, 2020 at 11:48 PM
In case anyone else comes across this... I get issues similar to this one when my hard drive is running low on space.