Hello all.
A work mate and i have had the following error continiously crop up over the last two or three days with no sign as to why or a fix.
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path “C:.…\Temp\Assembly-CSharp.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 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
Restarting Unity worked the first couple times. After that we removed the Assembly files and had unity rebuild them. This worked again for a little while but the error keeps showing up. We are working on different projects on version 4.3.1 and 4.2.1 both with a pro license.
Cant seem to find anything on the forums or answers. Any one have an idea as to the cause of this or have a fix for it??
Thanks