- Home /
IOException build error
I'm trying to build for windows phone 8.1
The one and only error I'm getting is:
Error building Player: IOException: Failed to Copy File / Directory from '' to 'Temp/StagingArea/'.
I've tried getting folders off read only, running unity as admin, exporting my project to a unitypackage and importing to a fresh project.
I can build an empty project with windows store/windows phone 8.1 just fine, no error. How on earth can I fix this?
I'm running windows 8.1 btw.
Sometimes I have to disable my antivirus or will get a similar error in Windows 7, so maybe temporarily disable your AV after a fresh reboot.
I disabled windows defender and rebooted. Didn't work
you can find your answers from here http://answers.unity3d.com/questions/123991/ioexception-error-copying-playerwinexe-when-buildi.html
That page wasn't related enough to my problem. Theirs was they couldn't overwrite something. $$anonymous$$ine is it can't write at all, even to a blank directory.
Answer by skylem · Jan 13, 2015 at 04:50 AM
Make sure your Build and Project folders are not inside an administation folder.(such as program files) Check your antivirus. Attempt to build it as a different Type. Try a different machine or operating system. make sure you move your remove your failed build files before you try again, certain processes in win 8 may attempt to use the files ur building before u have even finished created them(because its the most pathetically thought out operating system for an experienced user in the history of OS and was made for Rtards).
and lastly Burn microsoft to the ground.
Your answer
![](https://koobas.hobune.stream/wayback/20220613180246im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
unity could not load from assembly [resolved] 0 Answers
UWP 8.1 minimum resolution 0 Answers
fluid vertex animation shader not working with Universal Windows Platform 0 Answers
Mac OSX on windows and building out for iphone/ipad? 2 Answers
Detecting mulitple xbox controllers on Windows - randomly gets joystic number. 0 Answers