Error on GLTF model: VERTEX_SPACE_LOCAL does not support skinning (SOLVED)

When I run the game I get an error:

ERROR:GAMESYS: Failed to create Model component. Material vertex space option VERTEX_SPACE_LOCAL does not support skinning.

It is related to a character I added to the game, where it should have animation, yet, I’m unable to change Vertex Space in the material I assigned to it:

image

Character is from Kay Lousberg · Characters : Skeletons

EDIT: The error doesn’t show up, when I remove the animation and skeleton :frowning:

image

isn’t it because defold does only support baked animations?

1 Like

What do you mean?

  1. I just imported assets (.glb files + textures) from the mentioned site.
  2. I created a model in Defold.
  3. I set Mesh to one of glb files.
  4. I don’t want the skeleton to be in t-pose. I used same file for Animations property - then I can select Default Animation, e.g. :2H_Melee_Idle:
    image
  5. When I run the game with such model in collection, I get that error. It says Vertex Space Local does not support skinning, so I wanted to change Vertex Space in model - but this looks like not possible (when I click the icon to expand dropdown list, there is only this option - Local), look, here’s a screenshot with expanded dropdown in material:

image

1 Like

Uh that seems strange, can you try with some other model? It seems like maybe you are perhaps getting some hidden error or so

Ok, strange. I restarted Defold and now there is an option in Material to change Vertex Space:

image

Defold 1.9.1, didn’t updated yet.
Engine SHA1: 691478c02875b80e76da65d2f5756394e7a906b1
Editor SHA1: 7e106914636fe4f22c967d7e297f4e24a26e0198
Windows.

But this might be connected to the issue I never mentioned anywhere yet, that sometimes, clicking File, Edit, View and so on from the top bar doesn’t cause the dropdown to expand and when this happens it will never get back to normal UX, it will never expand when clicking - only restarting Defold helps.

1 Like