Import Package: Moving file failed

I get an error “Moving file failed” occasionally when I import a package. Usually the try again option lets it continue without any issue.

I just got playmaker and I am getting the error trying to import this package. Try again comes up a couple times and then crashes unity entirely.

I have run out of options to fix this. I have:

  1. Downloaded package again
  2. Turned off virus checker
  3. Changed drives where package is locked
  4. Tried importing into new project.
  5. Turned off windows indexing

I have even tried decompressing the package manually. 7zip will open it, but I can’t decipher the format the assets are stored in.

1303558--60744--$crash1.JPG

then

1303558--60745--$crash2.JPG

[EDIT] Thought of another thing to try after submitting thread. I tried importing the package in chunks. i.e. Select a subset of files, import, then import package again and select a new range of files. I got one moving file error. But the package now appears to be imported correctly.
Would really like to get the moving file error fixed once and for all as it is very disconcerting. You don’t know if the import has been successful or you have some lurking issue.

I don’t know why this happens sometimes, but I usually shut down Unity and delete the Temp folder in the project, then the unitypackage imports without error.

I know my answer is far too late to help you, but I’m hoping to help future readers. I just had this issue (or maybe something similar at least, as mine didn’t crash) and resolved it relatively quick as an alternative to having to delete the temp folder. Make sure to shutdown all non-Unity programs that might have something to do with your project. In my case MonoDevelop had the project open and so importing a dll file while MonoDevelop was open is not possible (it’s the same with Visual Studio). Similar issues can occur for any programs that read/write-lock files that you are overwriting with an import.

Similarly, I found this useful with similar issues I have been having, so I’ll throw it out there in case its useful:

My MaCafee virus scanner was doing realtime scanning, and would fail on one of my temp files, about 80% of the time. Pausing the real time virus scanner made this go away.