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

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().

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.

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.