I’m getting the following error that I can’t figure out how to fix.
I upgraded a project from 4.6 to the new 5.0, and it all seemed to work nicely, until the last few days I can’t run the game - it won’t compile when I click play button and receive the below error in the console.
Somehow, I noted that there were files marked as read-only in my project and set all files in entire project to not read-only, thinking that had something to do with it, and it worked - a couple times. Now even that doesn’t seem to help (it was a shot in the dark).
I’m running Windows 8 (updated with all service packs). Using Unity Editor 64-bit, for desktop build.
Any ideas would be greatly appreciated. Anyone else having this problem? Any other information I could give that might help trace this? It’s a show-stopper. :o
–Dan
Unhandled Exception: System.UnauthorizedAccessException: Access to the path “C:\Users\DANNYR\Desktop\UNITY__Cor3volution\Temp\Assembly-CSharp-Editor.dll.mdb” is denied.
at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] in :0
at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)
at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.WriteSymbolFile (Guid guid) [0x00000] in :0
at Mono.CSharp.SymbolWriter+SymbolWriterImpl.WriteSymbolFile () [0x00000] in :0
at Mono.CSharp.SymbolWriter.WriteSymbolFile () [0x00000] in :0
at Mono.CSharp.CodeGen.Save (System.String name, Boolean saveDebugInfo, Mono.CSharp.Report Report) [0x00000] in :0
at Mono.CSharp.Driver.Compile () [0x00000] in :0
at Mono.CSharp.Driver.Main (System.String[ ] args) [0x00000] in :0
