pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.41k stars 290 forks source link

Uncaught Error: R3F: Primitives without 'object' are invalid! when converting models with skinnedMesh #216

Open gingman opened 11 months ago

gingman commented 11 months ago

I'm generating a component from the sample assets provided on https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/BrainStem

If I use a GLTF file without skinnedMesheverything works fine. However, If I choose an object with skinnedMesh, I get an Uncaught Error: R3F: Primitives without 'object' are invalid!

I created a sample app in CodeSandbox that shows this behavior https://codesandbox.io/s/gallant-curie-xz6kzj

netgfx commented 1 month ago

I think I'm on the same boat. Loading the assets with cache bust like `?id= seems to solve this however sometimes on the first load I still get it