Seanba / Tiled2Unity

Export Tiled Map Editor (TMX) files into Unity
Other
497 stars 120 forks source link

Prefabs does not have any mesh attached to it #122

Closed LordRaccoon closed 7 years ago

LordRaccoon commented 7 years ago

I guess I'm just noobing, but I cannot manage to import my map to Unity. It load the prefab just like a blue cube (meshes are not imported somehow) here is the picture of the preview: image

Here is the picture of the prefab: image

Here is the meshes inside unity image

here are the errors: image

That's is what shows on my scene: image

Seanba commented 7 years ago

Are you using Unity 5.2 by chance? When adding backwards compatibility for Unity 4.7 it looks like I broke BC for early versions of Unity 5.x.

LordRaccoon commented 7 years ago

I searched for the version and all that says is Unity 2017.1 and that looks like is the newest version after 5.6.3 Thank you for taking the time to help me with that.

Seanba commented 7 years ago

Unity 2017 should be fine. I wonder if the problem is more because your map is named 1.1 and either Unity or my Tiled2Unity import scripts get choked up on that. Can you send me your exported 1.1.tiled2unity.xml file? You can find my email at www.seanba.com

Seanba commented 7 years ago

FTR, this is a bug in the Tiled2Unity scripts if you have a map name with a period in it (ie. 'my.map.tmx'). I will post an update soon.

LordRaccoon commented 7 years ago

Thank you for your prompt answer! It really work very well using names. You are great! thanks for all the time and effort you put on Tiled2Unity!

Seanba commented 7 years ago

Version 1.0.12.4 has the fix for this published. Thanks again for bringing it to my attention.