# Cant export tiled map to unity with tiled2unity

**URL:** <https://discourse.mapeditor.org/t/cant-export-tiled-map-to-unity-with-tiled2unity/3701>\
**Category:** Questions\
**Created:** [January 23, 2019, 8:49pm UTC](https://discourse.mapeditor.org/t/cant-export-tiled-map-to-unity-with-tiled2unity/3701 "2019-01-23T20:49:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lolman\_Lolol](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/lolman_lolol/32/1498_2.png) [@Lolman\_Lolol](https://discourse.mapeditor.org/u/Lolman_Lolol)\
**Post date:** [January 23, 2019, 8:49pm UTC](https://discourse.mapeditor.org/t/cant-export-tiled-map-to-unity-with-tiled2unity/3701/1 "2019-01-23T20:49:05Z")

</div>

Hello, last I made a map in tiled. But when I wanted to export the map with tiled2unity it gave me an error:  
Exporting summary  
Succeeded: 0  
Warnings: 0  
Errors: 1  
Tiled map file not loaded!

and when I load in my map from tiled into tiled2unity then it gives me this:  
Loading Object Type Xml file: ‘F:\omgeving2D.xml’  
Error parsing Object Type Xml file: F:\omgeving2D.xml  
De objectverwijzing is niet op een exemplaar van een object ingesteld.  
Stack:  
bij Tiled2Unity.TmxObjectTypes.FromXmlFile(String xmlPath)  
bij Tiled2Unity.TmxMap.LoadObjectTypeXml(String xmlPath)  
Tiled Object Type count = 0  
Tiled map is not loaded. Nothing to preview.

could someone help me please

---

<div class="post-metadata">

**Author:** ![Seanba](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/seanba/32/1531_2.png) [@Seanba](https://discourse.mapeditor.org/u/Seanba)\
**Post date:** [January 24, 2019, 10:17pm UTC](https://discourse.mapeditor.org/t/cant-export-tiled-map-to-unity-with-tiled2unity/3701/2 "2019-01-24T22:17:43Z")

</div>

It looks like you might be trying to load a TMX file as the Object Types Xml file. I suggest using SuperTiled2Unity instead which does not require an export step.

> **[SuperTiled2Unity by Seanba](https://seanba.itch.io/supertiled2unity)**
>
> Import Tiled map files to Unity

If you really want to stick with Tiled2Unity then try the following …

1. Press the `Clear Object Types` button on the exporter.
2. Select `File -> Open Tiled File ...` on the exporter to make sure you are loading a Tiled map file.

Note that Tiled2Unity is no longer supported and may not work against newer versions of Unity so even if you make it past the export process it sill might not work. Again, SuperTiled2Unity is the way to go here 🙂

---

<div class="post-metadata">

**Author:** ![Lolman\_Lolol](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/lolman_lolol/32/1498_2.png) [@Lolman\_Lolol](https://discourse.mapeditor.org/u/Lolman_Lolol)\
**Post date:** [January 24, 2019, 10:19pm UTC](https://discourse.mapeditor.org/t/cant-export-tiled-map-to-unity-with-tiled2unity/3701/3 "2019-01-24T22:19:40Z")

</div>

Thank you very much, I will try to import my map and hope unity will do its work
