Malhavok / Spriter2Unity

Tool for converting SCML files into Unity prefab and anim
12 stars 27 forks source link

".meta files do not exist" but they do. #2

Closed theWill closed 10 years ago

theWill commented 10 years ago

video of issue: http://screencast.com/t/tMvQJ9TfNR perhaps wrong "/" character?

It creates anims and the prefab even with the warnings but I can't get them to work so I suspect they are not created correctly.

Perhaps the warning is not meaningful?

theWill commented 10 years ago

tried with the crabby scml project with the same result.

theWill commented 10 years ago

SOLVED!

The 3rd step in the Spriter2Unity tool.exe requires the folder selected to be the lowest level folder that has the images (textures). I roughly followed this awesome YouTube video: http://www.youtube.com/watch?v=pZK86lQU8ME I had the following folder structure: unityProject/Assets/Textures/Crabby/Spriter

In step 3, I was choosing unityProject/Assets/Textures as it said to choose the "textures" folder. This does appear to work and generates anims and prefabs but they dont work - at least the prefab doesn't.

What worked for me was choosing: unityProject/Assets/Textures/Crabby/Spriter as my folder for textures. This generates anims and prefabs that work in Unity. YAY!

Might want to update the Readme or codes.

Looking forward to working with this now ;_)

Malhavok commented 10 years ago

When metafile is missing, a path tested by script is also given. Both prefabs and animations are created properly, but none of them have any sprites assigned :/ i'm not marking this as error, because one would like to have some parts missing (e.g. pointing directory with different sprite set that have no wings or have additional legs).

I'll update readme with this video, thanks. And again - sorry for the time wasted.

theWill commented 10 years ago

No problem on the time. This tool is looking good.

After seeing your comment I do see the prefab comes without sprites assigned and how that could be useful. It is just confusing for a newbie coming to the tool. Another potential issue I had was when I added the textures to the folder and had unity recognize them and build out .meta files it actually didnt recognize them as Sprites but as generic Textures. Changing them to Sprite fixed the issue.