- 수정됨
Material missing from SkeletonAnimation
I'm new to Spine and Spine-Runtime, so I'm hoping there's a simple solution to this.
I've followed the instructions on the Spine website to import an animation into Unity. However, when I move the SkeletonData from the Project to the Hierarchy in Unity (and create a Skeleton Animation), the resulting Skeleton Animation lacks any Materials (it should have 1 Material). In the Atlas file, I do see the Material.
Any guidance on what might be going on? Screenshots attached below if helpful.
Thanks!
Jason
Hello and welcome to Spine!
We are sorry that you are facing problems.
The data in your screenshots above looks correct.
Have you maybe created additional skins? It could be that the default skin has nothing visible in it and that all your atlas images are assigned at a different skin.
You should be able to preview and switch skins via the SkeletonData asset Inspector preview:
You can change it at the instance in the Scene via the SkeletonAnimation's component Inspector parameter Initial Skin
:
If the above did not resolve your problem, could you please send us a zipped version of your assets? Either as an attachment to a posting in this forum thread or send it via email to contact@esotericsoftware.com
Thanks very much! This addressed the issue! Much appreciated!
Glad it helped, thanks for getting back to us!
hello!can you tell me where is wrong? i checked it with HaraId's function but there no error :grinteeth:
Jieliu, I just posted a reply on the other forum thread, let's continue the discussion over there:
在骨骼动画中材质球丢失