Log in or register to post comments

import target error XmlException: invalid data

November 10, 2015 - 11:11pm #7

Mac version : OS X EI capitian

Unity version : 5.1.3f

Vuforia version: 5.0.6

 when I import Target  .unitypackage downloading form Target Manager, it will get errorXmlException: invalid data.

ps. may I get xcode from windows-unity ????????

XmlException: invalid data.
System.Xml.XmlStreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32 count)
Mono.Xml2.XmlTextReader.ReadTextReader (Int32 remained)
Mono.Xml2.XmlTextReader.PeekChar ()
Mono.Xml2.XmlTextReader.ReadContent ()
Mono.Xml2.XmlTextReader.Read ()
System.Xml.XmlTextReader.Read ()
Vuforia.EditorClasses.ConfigParser.fileToStruct (System.String configXMLPath, Vuforia.EditorClasses.ConfigData configData)
Vuforia.EditorClasses.ConfigDataManager.ReadConfigData (System.String dataSetFilePath)
Vuforia.EditorClasses.ConfigDataManager.DoRead ()
Vuforia.EditorClasses.SceneManager.InitScene ()
Vuforia.EditorClasses.ImageTargetEditor.EditorConfigureTarget (Vuforia.ImageTargetAbstractBehaviour itb)
Vuforia.EditorClasses.ImageTargetEditor.OnEnable ()
 

import target error XmlException: invalid data

November 19, 2015 - 4:48pm #6

Are you compiling your iOS project on Windows version of Unity?

import target error XmlException: invalid data

May 16, 2016 - 4:31am #5

I am also facing same problem any one help me pls...

 

XmlException: invalid data.
System.Xml.XmlStreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32 count)
Mono.Xml2.XmlTextReader.ReadTextReader (Int32 remained)
Mono.Xml2.XmlTextReader.PeekChar ()
Mono.Xml2.XmlTextReader.ReadContent ()
Mono.Xml2.XmlTextReader.Read ()
System.Xml.XmlTextReader.Read ()
Vuforia.EditorClasses.ConfigParser.fileToStruct (System.String configXMLPath, Vuforia.EditorClasses.ConfigData configData)
Vuforia.EditorClasses.ConfigDataManager.ReadConfigData (System.String dataSetFilePath)
Vuforia.EditorClasses.ConfigDataManager.DoRead ()
Vuforia.EditorClasses.SceneManager.InitScene ()
Vuforia.EditorClasses.ImageTargetEditor.EditorConfigureTarget (Vuforia.ImageTargetAbstractBehaviour itb)
Vuforia.EditorClasses.ImageTargetEditor.OnEnable ()
 
 
 

import target error XmlException: invalid data

May 16, 2016 - 6:24am #4

look my post. probably I find solution for the Mac users.

import target error XmlException: invalid data

October 24, 2016 - 9:15am #3

Hi guys, 

Solved!! I just open the file on notepad++ and did:  Settings -> Preferences -> tab New document/Default Directory -> Encoding ->  Apply to opened ANSI files.

That worked for me.-

 

import target error XmlException: invalid data

August 9, 2017 - 3:50pm #2

estebanercole wrote:

Hi guys, 

Solved!! I just open the file on notepad++ and did:  Settings -> Preferences -> tab New document/Default Directory -> Encoding ->  Apply to opened ANSI files.

That worked for me.-

 

 

I do not understand what file you need to edit? Where to find it?

import target error XmlException: invalid data

April 12, 2019 - 6:16am #1

I need help with this aswell.

I use the Windows Unity version to compile my project to IOS.

I have this error, and my application won't work anymore. Does anyone have a fix?

XmlException: Invalid character in the given encoding. Line 1, position 38.

...

Log in or register to post comments