Playmaker Help & Tips > Windows Phone 8 Help

Windows Phone 8 Build Error

(1/2) > >>

XinJinXiang:
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:
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:
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:
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:
You are right,Alex.
I had this problem. I fixed it by your help!
Thank you. :)

Navigation

[0] Message Index

[#] Next page

Go to full version