playMaker

Author Topic: Compiler error  (Read 2924 times)

lh2009

  • Playmaker Newbie
  • *
  • Posts: 12
Compiler error
« on: December 30, 2013, 11:00:31 PM »
Hi guys
I am new to using playmaker, I have been getting a compiler error quite a lot:


Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path "C:\Users\padraic\Documents\New Unity Project\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






This particular error came up after building the light switch found in the first tutorial on this website.

The first warning came just after building, the rest once I restarted the project

Does anyone know how I  can fix these errors? the first cannot be cleared until error is solved (i am already running unity as an admin if that matters)

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Compiler error
« Reply #1 on: January 02, 2014, 06:01:28 AM »
Hi,

 This is odd, I never had this before, I am not sure how this can relates to PlayMaker tho.

It could be your OS and antivirus itself:

http://forum.unity3d.com/threads/133493-internal-compiler-error-Unhandled-Exception-System-UnauthorizedAccessException

http://answers.unity3d.com/questions/318216/internal-compiler-error-1.html


bye,

 Jean

lh2009

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Compiler error
« Reply #2 on: January 02, 2014, 08:45:42 AM »
Thanks for that, I am using McAfee so that could be it.