playMaker

Author Topic: Windows Phone 8 Build Error  (Read 9690 times)

XinJinXiang

  • Playmaker Newbie
  • *
  • Posts: 5
Windows Phone 8 Build Error
« on: March 15, 2015, 01:55:32 PM »
Hello Playmaker!
I am Unity indie game developer and nowadays I developed sniper game for windows phone 8.
It works well on android and ios but it has build errors when release for windows version.

This is the bug report.
I will attach screen shot of my project.
Error building Player: Exception: Error: method `System.Int32 System.Collections.ArrayList::LastIndexOf(System.Object)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.ArrayListLastIndexOf::DoArrayListLastIndex().
Error: method `System.Int32 System.Collections.ArrayList::LastIndexOf(System.Object,System.Int32)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.ArrayListLastIndexOf::DoArrayListLastIndex().
Error: method `System.Int32 System.Collections.ArrayList::LastIndexOf(System.Object,System.Int32,System.Int32)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.ArrayListLastIndexOf::DoArrayListLastIndex().
Error: type `System.Xml.XPath.XPathException` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlGetNodeProperties::GetNodeProps().
Error: type `System.Xml.XPath.XPathException` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlGetNodeProperties::GetNodeProps().
Error: method `System.String System.Xml.XPath.XPathException::get_Message()` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlGetNodeProperties::GetNodeProps().
Error: type `System.Xml.XPath.XPathException` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectNodes::SelectNodeList().
Error: method `System.Xml.XmlNodeList System.Xml.XmlNode::SelectNodes(System.String)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectNodes::SelectNodeList().
Error: type `System.Xml.XPath.XPathException` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectNodes::SelectNodeList().
Error: method `System.String System.Xml.XPath.XPathException::get_Message()` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectNodes::SelectNodeList().
Error: type `System.Xml.XPath.XPathException` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectSingleNode::SelectSingleNode().
Error: method `System.Xml.XmlNode System.Xml.XmlNode::SelectSingleNode(System.String)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectSingleNode::SelectSingleNode().
Error: type `System.Xml.XPath.XPathException` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectSingleNode::SelectSingleNode().
Error: method `System.String System.Xml.XPath.XPathException::get_Message()` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void HutongGames.PlayMaker.Actions.XmlSelectSingleNode::SelectSingleNode().
Error: method `System.Xml.XmlNode System.Xml.XmlNode::SelectSingleNode(System.String)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.String HutongGames.PlayMaker.Actions.DataMakerXmlActions::GetNodeProperty(System.Xml.XmlNode,System.String).
Error: method `System.Reflection.AssemblyName[] System.Reflection.Assembly::GetReferencedAssemblies()` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Type VisualTween.Action.Generic.TweenProperty::GetType(System.String).
Error: method `System.Collections.Generic.List`1<!!0> System.Collections.Generic.List`1<System.String>::ConvertAll<System.Object>(System.Converter`2<!0,!!0>)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void StateMachine.Action.Split::DoSplit().



Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Windows Phone 8 Build Error
« Reply #1 on: March 15, 2015, 03:38:32 PM »
From the errors it looks like you're using an xml addon that might not be WP8 compatible...? Jean would have to take a look at this.

XinJinXiang

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Windows Phone 8 Build Error
« Reply #2 on: March 15, 2015, 03:56:43 PM »
Thanks for your reply Mr.Alex
But I don`t use any xml add on in my project.
Also as I mentioned above there are no problems on ios and android platforms.
How can I fix it?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Windows Phone 8 Build Error
« Reply #3 on: March 15, 2015, 04:38:50 PM »
WP8 has special requirements. The errors show code in your project that's not WP8 compatible.

Looking at the errors I'd guess the problems are in ArrayMaker, DataMaker, and VisualTween. Are you using those in your project?

I think Jean is working on WP8 compatibility for ArrayMaker and DataMaker. I'm not sure who makes VisualTween...? You should contact the author for a WP8 compatible version... Unfortunately the WP8 platform hasn't really taken off so many third party libraries have not been updated for compatibility.

pluckmind6

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Windows Phone 8 Build Error
« Reply #4 on: March 27, 2015, 03:52:43 AM »
You are right,Alex.
I had this problem. I fixed it by your help!
Thank you. :)

XinJinXiang

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Windows Phone 8 Build Error
« Reply #5 on: March 27, 2015, 04:03:54 AM »
 ;D
As Alex mentioned, I have some crypt scripts in my project so it occurs building error.
Thanks for your kind contribution.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Windows Phone 8 Build Error
« Reply #6 on: March 30, 2015, 02:31:52 AM »
Hi,

 Missed that post, sorry guys.

 Yes, Windows support for ArrayMaker is pending. I am having so many trouble with this, it's untrue and painfull battle...so indeed a very unstable, badly put together platform target. They simply removed for obscur reasons many api functions here and there and so it breaks even the most simple scripts... this coupled with how messy it is to update to the windows phone itself, after several attemps it's still doesn't let me publish.

I'll give it another go after some pending ngui and pathfinding update.

 Bye,

 Jean