XML Parsing issue on trunkdev branch

Create issue
Issue #62 new
Former user created an issue
XMLParsingException: Unexpected token
TObject.Shared.NanoXMLDocument..ctor (System.String xmlString) (at Assets/X-UniTMX/NanoXML/NanoXMLParser.cs:112)
X_UniTMX.Map..ctor (UnityEngine.TextAsset mapText, System.String mapPath, System.Action`1 onMapFinishedLoading) (at Assets/X-UniTMX/Code/Map.cs:417)
X_UniTMX.TiledMapComponent.LoadMap () (at Assets/X-UniTMX/Code/TiledMapComponent.cs:146)
X_UniTMX.TiledMapComponentEditor.ReadPropertiesAndVariables () (at Assets/X-UniTMX/Editor/TiledMapComponentEditor.cs:174)
X_UniTMX.TiledMapComponentEditor.DoLayersGUI () (at Assets/X-UniTMX/Editor/TiledMapComponentEditor.cs:398)
X_UniTMX.TiledMapComponentEditor.OnInspectorGUI () (at Assets/X-UniTMX/Editor/TiledMapComponentEditor.cs:907)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1231)
UnityEditor.DockArea:OnGUI()

This is the error I'm getting when I assign the .xml file into tiled map game object I generated. I have not been successful at generating a tiled map with this plugin. Is this a known error?

I attached the xml file (which by the way was difficult to even get since Tiled only exports as js, json, and tmx.. renaming it just simply added .xml into the filename and not change the actual extension so I had to save it as a js file, open it up in notepad++, then save it as an .xml which I'm assuming is where it's going mad).

Comments (2)

  1. intellect-productions NA

    Oh woops! I forgot to login to bitbucket first... I meant to post it under this account.

  2. intellect-productions NA

    This issue has been resolved, sorry. Opened up tmx file in notepad++ and saved it as xml.

  3. Log in to comment