Seanba / Tiled2Unity

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

Importing as .xml, not prefab #166

Open lorenradis opened 6 years ago

lorenradis commented 6 years ago

I've seen this issue a hundred times, but now, I don't have Web Player selected as my build target. I'm on a mac, and I've gotten tiled2Unity to export a map properly (though HUGE) a few times, but most of the time when I try it I get the error where only an .xml file is exported, no new prefab is added to the project.

I don't know where to even begin... this is such a great tool, thanks for any help you can offer.

Seanba commented 6 years ago

Hi there, Lorenradis. Can you export your Unity project and send it to me?

FWIW, Tiled2Unity is getting a little dusty and I've been working on a new plugin for Unity that will allow you automatically import Tiled files directly from Unity. Depending on what your issue is, it may be better/faster to use your project as a guinea pig for this new tool.

lorenradis commented 6 years ago

Hey,

Thanks SO MUCH for getting back so quickly, I apologize for not doing the same. I've made three more maps since that last post and they all worked, so I'm sure I just screwed something up in the maps that didn't work, I don't know what it was but... whatever. I'd hate to waste your time with my source files...

HOWEVER, I would absolutely LOVE to test out whatever new tool you have in the works, if you're interested!

Seanba commented 6 years ago

Thanks, lorenradis. I've had some other people send me their maps and it's been extremely useful in finding some uses of Tiled I hadn't thought of on my own. If you can create a Unity project with all your Tiled files (map files, texture files, tileset files) in it, export the whole thing as Unity Package, and send it to me then I would love to run them though the scripted importers I'm working on with Unity 2018.