- Home /
Question by
loriopatrick · Jan 12, 2012 at 07:04 AM ·
errorbuildflash
Unity3d 3.5 Build to flash error dump debug
Trying to build a Unity3d project in flash, getting error:
Not sure of flash's limitation, thinking it may be the threads.
Any insight on this would be much appreciated.
I am using UDP socket & Threads from mono.
Code compiles and runs in editor and desktop.
Things I am using:
using System;
using System.Collections.Generic;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using UnityEngine;
Failed to convert type GameController: System.InvalidOperationException: Expecting a type reference for string[]!
at cil2as.Extensions.AstTypeExtensions.MandatoryTypeReference (ICSharpCode.NRefactory.CSharp.AstType type) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ImplementDeserializationSupport.ReadCollectionInvocation (ICSharpCode.NRefactory.CSharp.AstType elementType, ICSharpCode.NRefactory.CSharp.IdentifierExpression readerRef, System.String collectionType) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ImplementDeserializationSupport.ReadListInvocation (ICSharpCode.NRefactory.CSharp.AstType listType, ICSharpCode.NRefactory.CSharp.IdentifierExpression readerRef) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ImplementDeserializationSupport.AddReadImplementationFor (ICSharpCode.NRefactory.CSharp.FieldDeclaration field, ICSharpCode.NRefactory.CSharp.BlockStatement methodBody) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ImplementDeserializationSupport.DeserializeImplementation () [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ImplementDeserializationSupport.VisitTypeDeclaration (ICSharpCode.NRefactory.CSharp.TypeDeclaration typeDeclaration, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.TypeDeclaration.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor`2[System.Object,System.Object].VisitChildren (ICSharpCode.NRefactory.CSharp.AstNode node, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor`2[System.Object,System.Object].VisitNamespaceDeclaration (ICSharpCode.NRefactory.CSharp.NamespaceDeclaration namespaceDeclaration, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.NamespaceDeclaration.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor`2[System.Object,System.Object].VisitChildren (ICSharpCode.NRefactory.CSharp.AstNode node, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor`2[System.Object,System.Object].VisitCompilationUnit (ICSharpCode.NRefactory.CSharp.CompilationUnit unit, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.CompilationUnit.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.DepthFirstAstTransform.Run (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.ActionScriptAstBuilder.ApplyTransforms (ICSharpCode.NRefactory.CSharp.AstNode node, IEnumerable`1 pipeline) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.ActionScriptAstBuilder.ApplyTransformationPipelineTo (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.ActionScriptAstBuilder.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.ActionScriptGenerator.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.ActionScriptGenerator.Decompile (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.ActionScriptGenerator.GenerateActionScriptCodeFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.AssemblyConverter.ConvertTypesToActionScript () [0x00000] in <filename unknown>:0
Comment