Internal Compiler Error (89691)

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

Think iv come to the conclusion that its possibly a firewall/antivirus thing. Only occurs on my work machine, the same project on my home or mac doesnt show the same errors. Have yet to find a solution for it though, have little admin abilites on the work machine

–

1 Answer

1

so yeah it was an issue with Mac Afee anti virus. Turn off real TimeScanning and it sorted my issue

Yep, I had a very similar error with McAfee AV. I was getting an error about a temp file not existing. When I figured it out, I left the realtime scanning off too long and got a virus. Be careful! I now use WebRoot, no issues.

–