I am using Unity 4 on a Mac.
I am getting an Internal Compiler Error. I did a search here and there are a lot of them. I tried to further refine my search to include my particular error and didn’t get any smaller result set even though when I look at many of the other posts about this I don’t see my stack trace as the same as the others. Therefore I am posting here. Sorry if this has already been answered as I couldn’t find it.
I am trying to port some business logic code from a desktop C# application. I have slowly brought over the single classes one at a time, but can’t pin down exactly when the internal compiler error triggered because I had brought over several classes and was fixing missing things in them until they were all fixed and then the internal compiler error showed up.
Mainly I want to know how do I figure this out? The stack trace doesn’t help me any because I have no idea which of my source files it is working on when the error occurs. What do I do?
Stack Trace:
Internal compiler error. See the console log for more information. output was:Stacktrace:
at (wrapper managed-to-native) System.Type.MakeGenericType (System.Type,System.Type) <0x00004>
at (wrapper managed-to-native) System.Type.MakeGenericType (System.Type,System.Type) <0x00004>
at System.Type.MakeGenericType (System.Type) <0x00144>
at Mono.CSharp.GenericTypeExpr.DoResolveAsTypeStep (Mono.CSharp.IMemberContext) <0x0009c>
at Mono.CSharp.TypeExpr.ResolveAsTypeStep (Mono.CSharp.IMemberContext,bool) <0x0001e>
at Mono.CSharp.Expression.ResolveAsBaseTerminal (Mono.CSharp.IMemberContext,bool) <0x0004d>
at Mono.CSharp.Expression.ResolveAsTypeTerminal (Mono.CSharp.IMemberContext,bool) <0x0001b>
at Mono.CSharp.Nullable.NullableType.DoResolveAsTypeStep (Mono.CSharp.IMemberContext) <0x000f6>
at Mono.CSharp.TypeExpr.ResolveAsTypeStep (Mono.CSharp.IMemberContext,bool) <0x0001e>
at Mono.CSharp.Expression.ResolveAsBaseTerminal (Mono.CSharp.IMemberContext,bool) <0x0004d>
at Mono.CSharp.Nullable.NullableType.ResolveAsTypeTerminal (Mono.CSharp.IMemberContext,bool) <0x00018>
at Mono.CSharp.Nullable.LiftedBinaryOperator.LiftResult (Mono.CSharp.ResolveContext,Mono.CSharp.Expression) <0x000a8>
at Mono.CSharp.Nullable.LiftedBinaryOperator.ResolveUserOperator (Mono.CSharp.ResolveContext,System.Type,System.Type) <0x00039>
at Mono.CSharp.Binary.ResolveOperator (Mono.CSharp.ResolveContext) <0x001a4>
at Mono.CSharp.Binary.DoResolveCore (Mono.CSharp.ResolveContext,Mono.CSharp.Expression,Mono.CSharp.Expression) <0x00016>
at Mono.CSharp.Nullable.LiftedBinaryOperator.DoResolve (Mono.CSharp.ResolveContext) <0x0014d>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x0015b>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00015>
at Mono.CSharp.Binary.DoResolve (Mono.CSharp.ResolveContext) <0x008e0>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext,Mono.CSharp.ResolveFlags) <0x0015b>
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext) <0x00015>
at Mono.CSharp.Expression.ResolveBoolean (Mono.CSharp.ResolveContext,Mono.CSharp.Expression,Mono.CSharp.Location) <0x0001a>
at Mono.CSharp.If.Resolve (Mono.CSharp.BlockContext) <0x0002a>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x0044e>
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext) <0x0044e>
at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching,Mono.CSharp.BlockContext,Mono.CSharp.ParametersCompiled,Mono.CSharp.IMethodData) <0x0008d>
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x001ff>
at Mono.CSharp.AbstractPropertyEventMethod.Emit (Mono.CSharp.DeclSpace) <0x00039>
at Mono.CSharp.PropertyBase.Emit () <0x0007b>
at Mono.CSharp.Property.Emit () <0x000b1>
at Mono.CSharp.TypeContainer.EmitType () <0x00353>
at Mono.CSharp.RootContext.EmitCode () <0x000aa>
at Mono.CSharp.Driver.Compile () <0x00782>
at Mono.CSharp.Driver.Main (string) <0x0008f>
at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0x00043>