Hello, I will save a script I am working on in MonoDevelop and instantly when going back to unity recieve this error message. But when I close unity and re-run it I no longer have the error message and my script will work fine/have no actual errors. I attached the error message I get. Does anyone know what the problem may be and how to fix?
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path "C:\Users\Name\Documents\Game\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
↧