playMaker

Author Topic: I can't export Flash platform  (Read 2681 times)

frontakk

  • 1.2 Beta
  • Playmaker Newbie
  • *
  • Posts: 4
I can't export Flash platform
« on: December 28, 2011, 08:24:49 AM »
I want to export Flash platform.
But the error message came out.

Quote
Failed to convert type HutongGames.PlayMaker.Actions.DrawTexture: System.InvalidOperationException: Error converting 'System.Void HutongGames.PlayMaker.Actions.DrawTexture::OnGUI()'! ---> cil2as.Decompiler.Core.UnexpectedNodeException: Exception of type 'cil2as.Decompiler.Core.UnexpectedNodeException' was thrown.
  at cil2as.Decompiler.ActionScriptOutputVisitor.UnexpectedNode (ICSharpCode.NRefactory.CSharp.AstNode astNode) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.VisitDefaultValueExpression (ICSharpCode.NRefactory.CSharp.DefaultValueExpression defaultValueExpression, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.DefaultValueExpression.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.Visit (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor+VisitConditionalExpression>c__AnonStorey13.<>m__2C () [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ParenthesizeIf (Boolean requiresParenthesis, System.Action action) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ParenthesizeExpressionIfNeeded (ICSharpCode.NRefactory.CSharp.AstNode roleNode, System.Action action) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.VisitConditionalExpression (ICSharpCode.NRefactory.CSharp.ConditionalExpression conditionalExpression, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.ConditionalExpression.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.Visit (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
  at cil2as.CodeGenerator.WriteSeparatatedListOf[Expression] (IEnumerable`1 items, System.Action`1 action, System.String separator) [0x00000] in <filename unknown>:0
  at cil2as.CodeGenerator.WriteCommaSeparatedListOf[Expression] (IEnumerable`1 items, System.Action`1 action) [0x00000] in <filename unknown>:0
  at cil2as.CodeGenerator.WriteParenthesizedCommaSeparatedListOf[Expression] (IEnumerable`1 items, System.Action`1 action) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.WriteParenthesizedCommaSeparatedListOf[Expression] (IEnumerable`1 expressions) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.VisitInvocationExpression (ICSharpCode.NRefactory.CSharp.InvocationExpression invocationExpression, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.InvocationExpression.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.Visit (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.VisitExpressionStatement (ICSharpCode.NRefactory.CSharp.ExpressionStatement expressionStatement, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.ExpressionStatement.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.Visit (IEnumerable`1 nodes) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.WriteBlockOf (IEnumerable`1 nodes) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.VisitBlockStatement (ICSharpCode.NRefactory.CSharp.BlockStatement blockStatement, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.BlockStatement.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.Visit (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.WriteMethodDeclaration (ICSharpCode.NRefactory.CSharp.MethodDeclaration methodDeclaration) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.VisitMethodDeclaration (ICSharpCode.NRefactory.CSharp.MethodDeclaration methodDeclaration, System.Object data) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.VisitMethodDeclaration (ICSharpCode.NRefactory.CSharp.MethodDeclaration methodDeclaration, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.MethodDeclaration.AcceptVisitor[Object,Object] (IAstVisitor`2 visitor, System.Object data) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.Visit (IEnumerable`1 nodes) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.WriteBlockOf (IEnumerable`1 nodes) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,object>.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 cil2as.Decompiler.ActionScriptOutputVisitor.Visit (IEnumerable`1 nodes) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.WriteBlockOf (IEnumerable`1 nodes) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.ActionScriptOutputVisitor.ICSharpCode.NRefactory.CSharp.IAstVisitor<object,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 cil2as.ActionScriptGenerator.ToActionScriptCode (ICSharpCode.NRefactory.CSharp.TypeDeclaration type) [0x00000] in <filename unknown>:0
  at cil2as.ActionScriptGenerator.WriteActionScriptCodeFor (ICSharpCode.NRefactory.CSharp.TypeDeclaration typeDeclaration) [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


Quote
Failed to convert type PlayMakerGUI: Mono.Cecil.ResolutionException: Failed to resolve System.Void UnityEngine.MonoBehaviour::set_useGUILayout(System.Boolean)
  at cil2as.Extensions.ResolutionExtensions.Resolve[MethodReference,MethodDefinition] (Mono.Cecil.MethodReference reference, System.Func`2 resolve) [0x00000] in <filename unknown>:0
  at cil2as.Extensions.ResolutionExtensions.CheckedResolve (Mono.Cecil.MethodReference method) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.Transforms.AnnotateOriginalMethodReferences.OriginalMethodFor (Mono.Cecil.MethodReference method) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.Transforms.AnnotateOriginalMethodReferences.AnnotateWithOriginalMethod (ICSharpCode.NRefactory.AbstractAnnotatable candidateNode, Mono.Cecil.MethodReference methodRef) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.Transforms.AnnotateOriginalMethodReferences.AnnotateWithOriginalMethod (ICSharpCode.NRefactory.CSharp.AstNode candidateNode) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.Transforms.AnnotateOriginalMethodReferences.VisitInvocationExpression (ICSharpCode.NRefactory.CSharp.InvocationExpression invocationExpression, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.InvocationExpression.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].VisitExpressionStatement (ICSharpCode.NRefactory.CSharp.ExpressionStatement expressionStatement, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.ExpressionStatement.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].VisitBlockStatement (ICSharpCode.NRefactory.CSharp.BlockStatement blockStatement, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.BlockStatement.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].VisitMethodDeclaration (ICSharpCode.NRefactory.CSharp.MethodDeclaration methodDeclaration, System.Object data) [0x00000] in <filename unknown>:0
  at cil2as.Decompiler.Transforms.AnnotateOriginalMethodReferences.VisitMethodDeclaration (ICSharpCode.NRefactory.CSharp.MethodDeclaration methodDeclaration, System.Object data) [0x00000] in <filename unknown>:0
  at ICSharpCode.NRefactory.CSharp.MethodDeclaration.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].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



Is there any good solution?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: I can't export Flash platform
« Reply #1 on: December 29, 2011, 01:01:46 AM »
Hi,

 Not currently. Unity beta and playmaker beta are not yet fully compatible to allow for flash export unfortunatly. But I am sure both Unity and playmaker are working hard on making this happening as soon as possible.

 Bye,

 Jean

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • my twitter @andrewlukasik
Re: I can't export Flash platform
« Reply #2 on: January 05, 2012, 01:30:51 PM »
So Flash contest's prizes are not for us then :(