Closed GoogleCodeExporter closed 9 years ago
what kind of data is needed? can we help?
Original comment by fer...@gmail.com
on 10 Aug 2014 at 9:45
The tetst is not working for me, I get this 2 errors:
Usage of a type or method not supported by Unity Flash.
* Details: Invokes an unsupported method System.Object
System.Convert::ChangeType(System.Object,System.Type) on type System.Convert
* Source: debugging symbols unavailable, IL offset 0x0083 at line : 0
Second error:
Usage of a type or method not supported by Unity Flash.
* Details: Invokes an unsupported method System.Object
System.Convert::ChangeType(System.Object,System.Type) on type System.Convert
* Source: debugging symbols unavailable, IL offset 0x0099 at line : 0
The normal version of DOTween has more errors so you are making progress here.
If you need anything else let me know.
Original comment by fer...@gmail.com
on 10 Aug 2014 at 10:59
[deleted comment]
[deleted comment]
If you don't have the license to export with Flash, download Unity from the
Unity download page and use this crack:
http://forum.cgpersia.com/f13/unity-4-x-professional-valera3132-84060/
It's for research purposes ;)
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:50
Ehe thank you for the link, but even if without Flash Export I do have Unity
Pro and I don't want to risk something bad happening to my license, even if
just for research purposes :P
Still, I fixed those errors you reported. Maybe now it will work? Crossing my
fingers hard.
The attached file is a completely new compatibility test so delete any previous
ones and try it from an empty project to be sure Unity doesn't retain previous
stuff in the background. Also, this time it's successful as soon as the DOTween
logo appears (no more SUCCESS message).
Original comment by daniele....@gmail.com
on 11 Aug 2014 at 8:29
Attachments:
The prevoious errors are gone but there are new ones
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:50
Failed to convert type 'CompatibilityTest': Failed to resolve T
Mono.Cecil.ResolutionException: Failed to resolve T
at Unity.CecilTools.Extensions.ResolutionExtensions.Resolve[TypeReference,TypeDefinition] (Mono.Cecil.TypeReference reference, System.Func`2 resolve) [0x00000] in <filename unknown>:0
at Unity.CecilTools.Extensions.ResolutionExtensions.CheckedResolve (Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.MangledNameFor (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.Mangle (ICSharpCode.NRefactory.CSharp.AstNode methodRef, System.Action`1 renameTo) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.VisitMemberReferenceExpression (ICSharpCode.NRefactory.CSharp.MemberReferenceExpression memberReferenceExpression, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.MemberReferenceExpression.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].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].VisitCastExpression (ICSharpCode.NRefactory.CSharp.CastExpression castExpression, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.CastExpression.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].VisitVariableInitializer (ICSharpCode.NRefactory.CSharp.VariableInitializer variableInitializer, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.VariableInitializer.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].VisitVariableDeclarationStatement (ICSharpCode.NRefactory.CSharp.VariableDeclarationStatement variableDeclarationStatement, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.VariableDeclarationStatement.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.MangleMethodNames.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.EcmaScriptAstBuilder.ApplyTransforms (ICSharpCode.NRefactory.CSharp.AstNode node, IEnumerable`1 pipeline) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.ApplyTransformationPipelineTo (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.Decompile (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.GenerateActionScriptCodeFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.AssemblyConverter.ConvertTypesToActionScript () [0x00000] in <filename unknown>:0
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:51
Failed to convert type 'DG.Tweening.DOTween': Object reference not set to an
instance of an object
cil2as.Decompiler.Core.ConversionException: Object reference not set to an
instance of an object ---> System.NullReferenceException: Object reference not
set to an instance of an object
at cil2as.Extensions.TypeDefinitionExtensions.IsBox (Mono.Cecil.TypeDefinition typeDef) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.PreserveValueTypeSemantics.VisitAssignmentExpression (ICSharpCode.NRefactory.CSharp.AssignmentExpression assignment, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.AssignmentExpression.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 cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform+<VisitExpressionStatement>c__AnonStorey30.<>m__79 () [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform.WithErrorLoggingOn (ICSharpCode.NRefactory.CSharp.AstNode sourceNode, System.Func`1 action) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform.WithErrorLoggingOn (ICSharpCode.NRefactory.CSharp.AstNode sourceNode, System.Func`1 action) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform.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.PreserveValueTypeSemantics.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 cil2as.Decompiler.Transforms.PreserveValueTypeSemantics.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.EcmaScriptAstBuilder.ApplyTransforms (ICSharpCode.NRefactory.CSharp.AstNode node, IEnumerable`1 pipeline) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.ApplyTransformationPipelineTo (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.Decompile (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.GenerateActionScriptCodeFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.AssemblyConverter.ConvertTypesToActionScript () [0x00000] in <filename unknown>:0
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:53
Failed to convert type 'DG.Tweening.TweenSettingsExtensions': Object reference
not set to an instance of an object
cil2as.Decompiler.Core.ConversionException: Object reference not set to an
instance of an object ---> System.NullReferenceException: Object reference not
set to an instance of an object
at cil2as.Extensions.TypeDefinitionExtensions.IsBox (Mono.Cecil.TypeDefinition typeDef) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.PreserveValueTypeSemantics.VisitAssignmentExpression (ICSharpCode.NRefactory.CSharp.AssignmentExpression assignment, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.AssignmentExpression.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 cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform+<VisitExpressionStatement>c__AnonStorey30.<>m__79 () [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform.WithErrorLoggingOn (ICSharpCode.NRefactory.CSharp.AstNode sourceNode, System.Func`1 action) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform.WithErrorLoggingOn (ICSharpCode.NRefactory.CSharp.AstNode sourceNode, System.Func`1 action) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.ErrorLoggingDepthFirstAstTransform.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.PreserveValueTypeSemantics.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 cil2as.Decompiler.Transforms.PreserveValueTypeSemantics.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.EcmaScriptAstBuilder.ApplyTransforms (ICSharpCode.NRefactory.CSharp.AstNode node, IEnumerable`1 pipeline) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.ApplyTransformationPipelineTo (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.Decompile (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.GenerateActionScriptCodeFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.AssemblyConverter.ConvertTypesToActionScript () [0x00000] in <filename unknown>:0
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:53
Failed to convert type 'DG.Tweening.TweenExtensions': Failed to resolve T
Mono.Cecil.ResolutionException: Failed to resolve T
at Unity.CecilTools.Extensions.ResolutionExtensions.Resolve[TypeReference,TypeDefinition] (Mono.Cecil.TypeReference reference, System.Func`2 resolve) [0x00000] in <filename unknown>:0
at Unity.CecilTools.Extensions.ResolutionExtensions.CheckedResolve (Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.MangledNameFor (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.Mangle (ICSharpCode.NRefactory.CSharp.AstNode methodRef, System.Action`1 renameTo) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.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.EcmaScriptAstBuilder.ApplyTransforms (ICSharpCode.NRefactory.CSharp.AstNode node, IEnumerable`1 pipeline) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.ApplyTransformationPipelineTo (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.Decompile (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.GenerateActionScriptCodeFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.AssemblyConverter.ConvertTypesToActionScript () [0x00000] in <filename unknown>:0
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:54
Failed to convert type 'DG.Tweening.ShortcutExtensions': Failed to resolve T
Mono.Cecil.ResolutionException: Failed to resolve T
at Unity.CecilTools.Extensions.ResolutionExtensions.Resolve[TypeReference,TypeDefinition] (Mono.Cecil.TypeReference reference, System.Func`2 resolve) [0x00000] in <filename unknown>:0
at Unity.CecilTools.Extensions.ResolutionExtensions.CheckedResolve (Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.MangledNameFor (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.Mangle (ICSharpCode.NRefactory.CSharp.AstNode methodRef, System.Action`1 renameTo) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.Transforms.MangleMethodNames.VisitMemberReferenceExpression (ICSharpCode.NRefactory.CSharp.MemberReferenceExpression memberReferenceExpression, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.MemberReferenceExpression.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].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].VisitCastExpression (ICSharpCode.NRefactory.CSharp.CastExpression castExpression, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.CastExpression.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].VisitReturnStatement (ICSharpCode.NRefactory.CSharp.ReturnStatement returnStatement, System.Object data) [0x00000] in <filename unknown>:0
at ICSharpCode.NRefactory.CSharp.ReturnStatement.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.MangleMethodNames.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.EcmaScriptAstBuilder.ApplyTransforms (ICSharpCode.NRefactory.CSharp.AstNode node, IEnumerable`1 pipeline) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.ApplyTransformationPipelineTo (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00000] in <filename unknown>:0
at cil2as.Decompiler.EcmaScriptAstBuilder.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.AstFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.Decompile (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.EcmaScriptGenerator.GenerateActionScriptCodeFor (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at cil2as.AssemblyConverter.ConvertTypesToActionScript () [0x00000] in <filename unknown>:0
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:54
[deleted comment]
[deleted comment]
that is all, a total of 5 errors
Original comment by fer...@gmail.com
on 11 Aug 2014 at 3:57
I played a while with the preview version of Flash export that came with Unity
3.5, and managed to replicate those same errors with a simple custom class.
Apparently, Flash export doesn't support extension methods that have a generic
T for the first parameter.
In short, this is valid:
public static void SomeMethod(this SomeClass parm) {}
while this is not (which is what I'm using in DOTween to return a Tweener or a
Sequence depending on where you used that extension):
public static void SomeMethod<T>(this T parm) where T : SomeClass {}
Before trying to fix it I have a question though. Are you sure you're not using
an old version of the Flash export? The only trace of this error I could find
was relative to Unity 3.5:
http://forum.unity3d.com/threads/failed-to-convert-type-betterlist-1-failed-to-r
esolve-t.164928/
Maybe you could update it somehow? Or the same error still happens on the last
version and Unity simply never cared?
Original comment by daniele....@gmail.com
on 11 Aug 2014 at 4:41
I think there is not a procedure available to update only the flash export
plugin separeted from the Unity install, it updates along with unity.
I have Unity 4.5 and "Flash pro" license, so probably it's an old problem not
solved in new versions.
Original comment by fer...@gmail.com
on 11 Aug 2014 at 4:54
Ok, gonna try to find a solution tomorrow ;)
Original comment by daniele....@gmail.com
on 11 Aug 2014 at 6:52
Just a quick update: spent a lot of time with the other issues and am pushing
Flash compatibility to tomorrow, or maybe even the day after
Original comment by daniele....@gmail.com
on 12 Aug 2014 at 6:45
No problem, I understand. =)
Original comment by fer...@gmail.com
on 12 Aug 2014 at 6:48
Update: Unity reeeeally didn't behave well with Flash export. Some fundamental
generic T uses in extension methods are not allowed, which is forcing me to
write the same generic function in 3 different non-generic ways instead than a
single generic one. I'm gonna work on other basic features before delving
further into Flash compatibility, because I don't want to make it and then
break it and then make it and then break it again. Sigh :|
At this point, I'd say Flash compatibility will have a 75% chance of success,
and a 25% chance of not happening.
Original comment by daniele....@gmail.com
on 17 Aug 2014 at 12:30
[deleted comment]
[deleted comment]
I have an idea to make possible to deliver the flash compiller and saving you
from making an effort that is not worth your time:
Since Webgl export is comming, Flash exporter will probably be used only in the
very short term, probably for less than 6 months from now. So full
functionality and updates are not important for the Flash platform, you can
make an independen download called for example: "DOTween for Flash exporting"
with extension methods deleted, and say the users that the support and
functinoality is limited in this version bacause the flash compiller is
limited, so you can keep adding new stuff to DOTween without wasting time
making them compatible with Flah exporter.
what do you think?
Original comment by fer...@gmail.com
on 17 Aug 2014 at 12:55
[deleted comment]
I recommend an independen download to keep the code clean in the important
version of DOTween, but I guess you can use somthing like the platform if to
disable the extension methods.
Original comment by fer...@gmail.com
on 17 Aug 2014 at 1:01
Woah, I totally missed your last two replies, sorry for that! It's actually a
good idea. Though deleting extension methods would mean that all shortcuts
won't work. You think it would still be a worthy solution?
Original comment by daniele....@gmail.com
on 17 Sep 2014 at 4:00
Now I think you should drop flash support becasue the new Unity 4.6 UI system
doesn't work with flash export and WebGL in Unity 5 beta seems primising.
Original comment by fer...@gmail.com
on 17 Sep 2014 at 6:28
Ehe I like this option. I'll keep this in standby until I complete the alpha
version.
Original comment by daniele....@gmail.com
on 17 Sep 2014 at 6:50
You should do this special version for WebGL, since we don't know when
extension methods will be supported.
Original comment by fer...@gmail.com
on 17 Sep 2014 at 11:43
Extension method can be converted to static functions deleting the "this"
keyword, so you can keep the shorcuts
Original comment by fer...@gmail.com
on 17 Sep 2014 at 11:45
But then they wouldn't be shortcuts anymore :( I prefer to hassle Unity with
bug reports to include extensions correctly (if they don't in the final
version), or in the worse hypothesis implement "simpler" extension methods
(since they should work at least without generics, as they do in Flash).
Original comment by daniele....@gmail.com
on 18 Sep 2014 at 9:40
Well since webGL finally works and this was a hassle, I'll scrap it :)
Original comment by daniele....@gmail.com
on 27 Nov 2014 at 12:53
Original issue reported on code.google.com by
daniele....@gmail.com
on 9 Aug 2014 at 8:11Attachments: