Seanba / Tiled2Unity

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

Tiled2Unity for mac doesn't export my map to Unity #170

Open pkenau opened 6 years ago

pkenau commented 6 years ago

Hi,

I'm having an issue with the Tiled2Unity, because when I try to export my map made in Tiled to Unity using the Tiled2Unity, I receive a message that the export has been done, but when I look in my prefabs folder inside the Unity I can not see my map there. Someone can help me, please?

Thanks in advance.

Seanba commented 6 years ago

Hi there. Do you have any errors in your console window output? When things go wrong there should be a message about it there.

If that doesn't help can you export your project as a Unity Package and send it to me? (email is available on my website, www.seanba.com)

pkenau commented 6 years ago

Hi,

Nope, no error. I can't export even with no error in my console window output. I mean, in the Tiled2Unity I receive a message that I exported successfully to unity. But when I go to the unity in my folder Prefabs in my hierarchy tab I only can see the _ReadMe file there.

Sure, you can download my project as a Unity Package at https://drive.google.com/file/d/1FRuu8geTCba0_Em9iTfPCCQERACeYk5i/view?usp=sharing .

Thank you! Pedro

2018-06-11 21:14 GMT-03:00 Seanba notifications@github.com:

Hi there. Do you have any errors in your console window output? When things go wrong there should be a message about it there.

If that doesn't help can you export your project as a Unity Package and send it to me? (email is available on my website, www.seanba.com)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Seanba/Tiled2Unity/issues/170#issuecomment-396425644, or mute the thread https://github.com/notifications/unsubscribe-auth/AmHqckKEtiijssnTtakHyT3Rq28aMB-Kks5t7wfbgaJpZM4UhYc- .

--

Pedro Paulo Gattai Gomes

Departamento de Medicina, Disciplina de Nefrologia, Universidade Federal de São Paulo - UNIFESP Rua Pedro de Toledo, 781, 13º andar, frente Vila Clementino, São Paulo/SP, CEP: 04039-032 Tel: (11)5576-4983 ramal: 2

Seanba commented 6 years ago

Can you let me know which version of Unity you are using? Thanks.

pkenau commented 6 years ago

Of course. The version that I'm using it is 2018.1.1f1 Personal (64bit).

Thank you

2018-06-12 12:25 GMT-03:00 Seanba notifications@github.com:

Can you let me know which version of Unity you are using? Thanks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Seanba/Tiled2Unity/issues/170#issuecomment-396630424, or mute the thread https://github.com/notifications/unsubscribe-auth/AmHqcost-cwrBvGb3APAMoJ2Ca5sOKwLks5t791MgaJpZM4UhYc- .

--

Pedro Paulo Gattai Gomes

Departamento de Medicina, Disciplina de Nefrologia, Universidade Federal de São Paulo - UNIFESP Rua Pedro de Toledo, 781, 13º andar, frente Vila Clementino, São Paulo/SP, CEP: 04039-032 Tel: (11)5576-4983 ramal: 2

Seanba commented 6 years ago

Hi again. After you export from Tiled2Unity's "Big Ass Button" you should see a [YourMapName].tiled2unity.xml file in Assets/Tiled2Unity/Imported but it appears that folder is empty in your project. I wonder if you have accidentally exported your map to the wrong Unity project?

FWIW, the new version of Tiled2Unity I'm working on will remove these kind of mishaps as everything will be fully contained in your Unity project (no separate exporter).

pkenau commented 6 years ago

No, I didn't accidentally exported my map for a wrong Unity project, because I only have one project.

2018-06-12 12:44 GMT-03:00 Seanba notifications@github.com:

Hi again. After you export from Tiled2Unity's "Big Ass Button" you should see a [YourMapName].tiled2unity.xml file in Assets/Tiled2Unity/Imported but it appears that folder is empty in your project. I wonder if you have accidentally exported your map to the wrong Unity project?

FWIW, the new version of Tiled2Unity I'm working on will remove these kind of mishaps as everything will be fully contained in your Unity project (no separate exporter).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Seanba/Tiled2Unity/issues/170#issuecomment-396637877, or mute the thread https://github.com/notifications/unsubscribe-auth/AmHqcp9k2_z7SicY8QsM8htBx99HO05pks5t7-HzgaJpZM4UhYc- .

--

Pedro Paulo Gattai Gomes

Departamento de Medicina, Disciplina de Nefrologia, Universidade Federal de São Paulo - UNIFESP Rua Pedro de Toledo, 781, 13º andar, frente Vila Clementino, São Paulo/SP, CEP: 04039-032 Tel: (11)5576-4983 ramal: 2

Seanba commented 6 years ago

Okay. If you can send me the full output from the Tiled2Unity exporter than I'll to make sense of it.

pkenau commented 6 years ago

This is the full output from the Tiled2Unity exporter that I received:

Command:

Missing TMXPATH argument.

If using the GUI, try opening a TMX file now

If using the command line, provide a path to a TMX file

If using from Tiled Map Editor, try adding %mapfile to the command


Arguments summary

Succeeded: 0

Warnings: 0

Errors: 0


Opening /Users/pedrogattai/Documents/JOBS/Leticia/level1.tmx ...

Map details: { "level1" size = 124x30, tile size = 128x128, # tiles = 33 }

Parsed: /Users/pedrogattai/Documents/JOBS/Leticia/level1.tmx


Loading summary

Succeeded: 1

Parsed: /Users/pedrogattai/Documents/JOBS/Leticia/level1.tmx

Warnings: 0

Errors: 0



Exporting '/Users/pedrogattai/Documents/JOBS/Leticia/level1.tmx' to '/Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity'

Compiling tiled2unity file: level1.tiled2unity.xml

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/4.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/5.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/3.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/17.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/18.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Tree_2.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Tree_3.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Tree_1.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/1.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/2.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/6.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/13.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/14.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/15.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/JumpTru.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Bush (1).png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Bush (4).png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Bush (3).png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Sign_2.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Object/Sign_1.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/hospital.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

ImportTexture : will import '/Users/pedrogattai/Documents/JOBS/Leticia/Imagens/freetileset/png/Tiles/Colisor.png' to /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Textures

Exporting to: /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Imported/level1.tiled2unity.xml

Succesfully exported: /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Imported/level1.tiled2unity.xml

Vertex Scale = 1

Object Type Xml =


Exporting summary

Succeeded: 1

Succesfully exported: /Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Imported/level1.tiled2unity.xml

Vertex Scale = 1

Object Type Xml =

Warnings: 0

Errors: 0


2018-06-12 13:06 GMT-03:00 Seanba notifications@github.com:

Okay. If you can send me the full output from the Tiled2Unity exporter than I'll to make sense of it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Seanba/Tiled2Unity/issues/170#issuecomment-396645367, or mute the thread https://github.com/notifications/unsubscribe-auth/AmHqcjilVH5i3a3Sg3XgqC-3uMn7wEN-ks5t7-cTgaJpZM4UhYc- .

--

Pedro Paulo Gattai Gomes

Departamento de Medicina, Disciplina de Nefrologia, Universidade Federal de São Paulo - UNIFESP Rua Pedro de Toledo, 781, 13º andar, frente Vila Clementino, São Paulo/SP, CEP: 04039-032 Tel: (11)5576-4983 ramal: 2

Seanba commented 6 years ago

Can you locate this file on your system? (Not in Unity, but on your harddrive).

/Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Imported/level1.tiled2unity.xml

This is the file that, for some reason, is not a part of the project you sent me.

pkenau commented 6 years ago

When I search for this file in my Finder I found that there are no results, in other words, it doesn't exist on my computer.

But when I open that directory, I found there the file that I attached here.

2018-06-12 14:00 GMT-03:00 Seanba notifications@github.com:

Can you locate this file on your system? (Not in Unity, but on your harddrive).

/Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/Assets/Tiled2Unity/Imported/level1.tiled2unity.xml

This is the file that, for some reason, is not a part of the project you sent me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Seanba/Tiled2Unity/issues/170#issuecomment-396662156, or mute the thread https://github.com/notifications/unsubscribe-auth/AmHqcnD4GrvZjOGdPJfU0Fb6psBKr-D_ks5t7_PFgaJpZM4UhYc- .

--

Pedro Paulo Gattai Gomes

Departamento de Medicina, Disciplina de Nefrologia, Universidade Federal de São Paulo - UNIFESP Rua Pedro de Toledo, 781, 13º andar, frente Vila Clementino, São Paulo/SP, CEP: 04039-032 Tel: (11)5576-4983 ramal: 2

Seanba commented 6 years ago

I don't think GitHub allows you to attach files. You can send to my personal email (see www.seanba.com to get my email address.)

Are you sure that your project, the one loaded by Unity, is located at this directory?:

/Users/pedrogattai/Documents/JOBS/Leticia/Ultra Dario vs Yellow Fever/

I'm not super familiar with Mac OSX as a development environment but I wonder if there is some hidden directories or directories that utilities are not allowed to write to? If Finder is having a problem finding those files than perhaps Unity has difficulty writing them out too.