AlonsyRC

Hi, I am super exited for the 3.8 runtime now support LWRP.

I was able to import the 3.8b unity package an the 3.8b UPM like suggested on this guide: http://esotericsoftware.com/spine-unity-download#In-place-Update-%28via-.zip-file-or-git%29

I corrected the only error on my code, related to runtime changes, nothing to worry about.

When I hit play some errors appear on the console, errors like
  • "Error reading skeleton JSON file for SkeletonData asset: hotdog_SkeletonData
Specified cast is not valid."

I attached an image with the full console output.

How Can I fix this? Do I have to update the JSON file, if so how should I have to do it.

Thanks.
У вас нет необходимых прав для просмотра вложений в этом сообщении.
AlonsyRC
  • Сообщения: 2

Harald

We are sorry for the trouble!

Did you re-export your skeleton assets with the 3.8 version of Spine as well?
Please note that the Spine-Unity runtime version (e.g. 3.7) has to match the Spine Editor version (e.g. 3.7.93) which was used to export your skeleton files. When major+minor version numbers do not match (3.7 vs 3.8 ), import in Unity will fail due to format incompatibility.

You can use batch-export to re-export all your skeletons quickly via the command line interface:
Export - Spine User Guide: Command line
Аватара пользователя
Harald

Harri
  • Сообщения: 1028

AlonsyRC

Harald писал(а):We are sorry for the trouble!

Did you re-export your skeleton assets with the 3.8 version of Spine as well?
Please note that the Spine-Unity runtime version (e.g. 3.7) has to match the Spine Editor version (e.g. 3.7.93) which was used to export your skeleton files. When major+minor version numbers do not match (3.7 vs 3.8 ), import in Unity will fail due to format incompatibility.

You can use batch-export to re-export all your skeletons quickly via the command line interface:
http://esotericsoftware.com/spine-export#Command-line
Nice answer I would tell my artist to update Spine ands re-expoprt the characters for me, Thanks!
AlonsyRC
  • Сообщения: 2

Harald

You're welcome, thanks for getting back to us!
Аватара пользователя
Harald

Harri
  • Сообщения: 1028


Вернуться в Unity