- Home /
Internal compile error
hi i am using unity 2.6 and i just got a error that said:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Mono.CSharp.Report ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Console ---> System.ArgumentException: handle Parameter name: Invalid. at System.IO.FileStream..ctor (IntPtr handle, FileAccess access, Boolean ownsHandle, Int32 bufferSize, Boolean isAsync, Boolean noBuffering) [0x00000] at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (intptr,System.IO.FileAccess,bool,int,bool,bool) at System.Console.OpenStandardInput (Int32 bufferSize) [0x00000] at System.Console..cctor () [0x00000] --- End of inner exception stack trace ---
at <0x00000> at Mono.CSharp.Report..cctor () [0x00000] --- End of inner exception stack trace ---
what does this mean???
$$anonymous$$y wild guess would be that the folder it is trying to compile to has read only permissions?
never $$anonymous$$d i opened some other project and then went back and now the error is gone :)
Answer by petr · May 29, 2012 at 03:43 PM
Thanks. Switched to another project and back again and it cleared up the error.
Your answer
Follow this Question
Related Questions
Error in Compiling ALL scripts? 1 Answer
Unity Internal Compiler Error 1 Answer
unity 3d error importing bone 0 Answers
Error Importing OpenCV Framework to Unity Project iOS 0 Answers