I’m trying to export SkinnedMeshes for my Game project (react-three-fiber), but the Animations are missing.
I can see the Animation Clips inside Unity (see Screenshots) but they’re missing after I export them (I checked in Blender as well as gltf-viewer).
My workflow has been:
Create minimal Needle Scene
Drag a Prefab from an assets package into the Scene
Export via Needle Tools → Selected Object as glb
I’ve tried to follow the needle docs but I’m probably missing something. It also doesn’t help that I have terribly little knowledge of Unity itself :D, I’m mainly using it to get assets and export them for the web (which needle is a blessing for <3)
Hey Brian, did you assign the animation to the object somewhere? E.g. via Animation component, Animator + AnimatorController or another component of your own holding a reference to the clip?
No problem - thanks for the fast reply!
I’m not 100% sure but when I click on the Controller the window in the first screenshot opens up (which displays the clips)
Thats the project view - it highlights the asset in your project hwen you single click. Can you double click this asset (thats the animator controller)
that looks fine (assuming the states all have the clips assigned, you can double check by selecting them, the inspector (top right) should show a clip reference each)
Could you check in the browser that they’re really missing by adding ?printGltf to the url and then checking the browser console (opens in F12) messages - it prints the glbs being loaded with the array of animations they contain