• Bugs
  • [Weights] "Skin Weights Cannot Be Computed" Error

  • Bearbeitet
Related Discussions
...

I'm working on a project with multiple skins (12) and I'm running into a bug with the 'auto' skin weighting option. Whenever I click that option, I get the error 'Sorry, skin weights cannot be computed'. I've seen a forum post of this being fixed: Weights could not be computed . But it doesn't seem to be fixed on my end.

I'm running Spine Enterprise 3.8.79 on Windows 10.

Repro:

  1. Run auto skin tool on one skin with generated verts.
  2. Create another mesh on a different skin with generated verts equal or close to the amount to the mesh in step 1.
  3. Run auto skin tool again on the same bones as step 1 but with the new mesh on step 2.

Edit:
Rebuilding the mesh with the same amount of verts or less does not fix this issue.

Hello, usually the weights will fail to compute if one or more bones are outside the mesh boundaries. Is this your use case?
Can you post screenshots (even with images all in a matte color if NDA is concerning you) of your configuration of mesh and bones?
Are you experiencing this on all meshes or only several of them?

Hey, Erikari, you hit my issue right on the nose! 🙂 The weights didn't compute because some of the bones were not inside the mesh bounds. So in order to auto generate the weights in my case, I would need to create new bones that are inside of the mesh for this tool to work which does make sense. But it does make animation sharing a almost next to impossible which is the opposite of what I want. 🙁 However, I can add all the bones and manually weight the verts by hand if I wanted to use the same bones as another mesh and share the animation but that process is also cumbersome. Is there some sort of work around or up coming update that will help with this issue?

I am under NDA so sharing any image is a bit of an issue on my end.

Thanks for helping!

You can select just the bones that intersect the mesh in the weights panel by holding ctrl, and then press auto to calculate the weights just for them, then add the missing bones that are outside manually (perhaps using the brush mode and painting the weights, or the direct mode but selecting several vertices at once, both methods make weighting much faster!)

Another tip to weight faster is to give each area 100% of a bone, then box select the vertices in the middle and press the smooth button so that Spine will smooth them out for you.

If a process is cumbersome and auto can solve it, then perhaps you could also reduce the number of vertices you use in a mesh.
Another interesting usage tip is to start with roughly half the vertices you need, weight them, then go back to edit mode to add the missing vertices: Spine will automatically weight the new vertices according to the surrounding vertices!

Weights - Spine User Guide

These are awesome tips!! I will try them out! Thank you so much for the help! 🙂