Platform assembly: C:\Users\Guto\Desktop est_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: C:\Users\Guto\Desktop est_Data\Managed\System.Xml.dll (this message is harmless)
Platform assembly: C:\Users\Guto\Desktop est_Data\Managed\System.dll (this message is harmless)
IsolatedStorageException: Could not find a part of the path “C:\Users\Guto\Desktop\Assets\DEAD ZONE ANDROID\Languages\arachnaZone_EN.xml”.
at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0
at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0
at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings) [0x00000] in <filename unknown>:0
at System.Xml.XmlReader.Create (System.String url) [0x00000] in <filename unknown>:0
This is the error I get in the outputLog. Everything works fine in the Editor, but no in the executable. The error occurs in both Windows and Android.
Here are the paths for the .xmls:
And here, if necessary is the code which actually returns the string attached to a individual attribute:
public string[] getTexts (Attributes attribute) {
XmlReader reader = XmlReader.Create( xmlPaths[ (int)_curLanguage ] );
int textQuantity = 0;
string[] texts = null;
while( reader.Read () ) {
if( reader.IsStartElement( attribute.ToString( ) ) ) {
textQuantity = int.Parse( reader.GetAttribute( "quantity") );
texts = new string[textQuantity];
for(int i = 0; i < textQuantity; i++) {
reader.Read();
if(reader.IsStartElement(attribute.ToString() + "Tag")) {
texts *= (string)reader.ReadString();*
-
}*
-
}*
-
}*
-
}*
-
return texts;*
-
}*
Any help would be very appreciated! Thanks from now!