I know Unity will work with those platforms, but the main feature page for adventure creator excludes those operating systems. Just curious. Thank You!
Without access to these devices for testing, I'm not able to say for certain one way or the other. It's generally a library issue when devices don't work. The upcoming 1.34 update does fix a known editor error in 1.33b for WP8 devices, but beyond that I can't be certain.
Error building Player: Exception: Error: type `System.Xml.XmlTextWriter` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.String Serializer::SerializeObjectXML(System.Object).
Error: type `System.Xml.XmlTextWriter` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.String Serializer::SerializeObjectXML(System.Object).
Error: method `System.Void System.Xml.XmlTextWriter::.ctor(System.IO.Stream,System.Text.Encoding)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.String Serializer::SerializeObjectXML(System.Object).
Error: type `System.Xml.XmlTextWriter` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.String Serializer::SerializeObjectXML(System.Object).
Error: method `System.IO.Stream System.Xml.XmlTextWriter::get_BaseStream()` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.String Serializer::SerializeObjectXML(System.Object).
Seems to be down to not all Windows Phones having the XML library needed by AC. You should be able to get around this by including the library in the build itself.
Look for System.Xml.dll in your Unity folder, and copy it into your project's Asset folder.
In Windows, this'll be found in /Editor/Data/Mono/lib/mono/2.0/ and Mac: /Contents/Frameworks/Mono/lib/mono/2.0/
If this works, let me know and I'll add it to the manual.
After I copied System.Xml.dll Unity flashed with following errors:
Assets/AdventureCreator/Scripts/Save system/Serializer.cs(118,17): error CS0433: The imported type `System.Xml.Serialization.XmlSerializer' is defined multiple times
Assets/AdventureCreator/Scripts/Save system/Serializer.cs(119,17): error CS0433: The imported type `System.Xml.XmlTextWriter' is defined multiple times
Please bear with me: I'm feeling my way through the dark, here.
Open up the Serializer.cs script (it's in AdventureCreator -> Scripts -> Save system) and remove the lines at the top: using System.Xml; and using System.Xml.Serialization;
Assets/AdventureCreator/Scripts/Save system/Serializer.cs(118,17): error CS0246: The type or namespace name `XmlSerializer' could not be found. Are you missing a using directive or an assembly reference?
Assets/AdventureCreator/Scripts/Save system/Serializer.cs(119,17): error CS0246: The type or namespace name `XmlTextWriter' could not be found. Are you missing a using directive or an assembly reference?
Assets/AdventureCreator/Scripts/Save system/Serializer.cs(131,17): error CS0246: The type or namespace name `XmlSerializer' could not be found. Are you missing a using directive or an assembly reference?
OK. The errors are all related, but let's just concentrate on the first one: go to line 118 and replace XMLSerializer with System.Xml.XMLSerializer. Any luck? Again, it may be some variant that does it, such as System.XMLSerializer instead, or removing using System; as well.
Unfortunately not - it's Windows 8 only and I don't have it (in fact, I don't even have a PC, so I had to go through a few hoops just to get Windows at all).
What's more frustrating is that I have had reports of AC compiling on WP8 from other users just fine. I'm not wised up on WP8 platforms at all, but are you up-to-date on your software?
Comments
Anyone else have any luck with these devices?
Look for System.Xml.dll in your Unity folder, and copy it into your project's Asset folder.
In Windows, this'll be found in /Editor/Data/Mono/lib/mono/2.0/
and Mac: /Contents/Frameworks/Mono/lib/mono/2.0/
If this works, let me know and I'll add it to the manual.
Open up the Serializer.cs script (it's in AdventureCreator -> Scripts -> Save system) and remove the lines at the top: using System.Xml; and using System.Xml.Serialization;
What's more frustrating is that I have had reports of AC compiling on WP8 from other users just fine. I'm not wised up on WP8 platforms at all, but are you up-to-date on your software?