Development Problem in Unity 5 3D

7

I'm developing a game using Unity 5 and running (giving play in game), the following error appears and I can not understand it, I think there has to be some denied process, but I do not know what It is.

Here's the error:

Unhandled Exception: System.UnauthorizedAccessException: Access to the path "C:\Users\Public\Documents\Unity Projects\Jogo Nightmare\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 <filename unknown>:0 

  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] in <filename unknown>:0 

  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) [0x00000] in <filename unknown>:0 

  at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.WriteSymbolFile (Guid guid) [0x00000] in <filename unknown>:0 

  at Mono.CSharp.SymbolWriter+SymbolWriterImpl.WriteSymbolFile () [0x00000] in <filename unknown>:0 

  at Mono.CSharp.SymbolWriter.WriteSymbolFile () [0x00000] in <filename unknown>:0 

  at Mono.CSharp.CodeGen.Save (System.String name, Boolean saveDebugInfo, Mono.CSharp.Report Report) [0x00000] in <filename unknown>:0 

  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 

  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 

If anyone knows please tell me.

    
asked by anonymous 21.05.2015 / 09:29

1 answer

1

With the help of Luiz Vieira and giving a Google search, find out that this error is caused by the anti virus, in my case McAfee that blocks access to the file, because it thinks it is an invasion / virus. I can not add a trusted list, and as I can not uninstall it, because I have the paid version, the most viable output, is, disable the scan in real time, run your game and so it finishes enabling again or if possible exchange anti virus. Once again thank you very much for the help Luiz Vieira.

    
23.05.2015 / 06:52