You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FBX loader does not load models exported from blender when the animation contains a rotation. Only translation works fine. Also export from other DCC (3ds Max) works. Tested with Blender 3.6 and 3ds Max 2020 and r160
three.module.js:42485Uncaught(inpromise) Error: THREE.KeyframeTrack: nokeyframesintracknamedCube.quaternionatnewKeyframeTrack(three.module.js:42485:58)atnewQuaternionKeyframeTrack(three.module.js:42993:1)atAnimationParser.generateRotationTrack(FBXLoader.js:2848:37)atAnimationParser.generateTracks(FBXLoader.js:2777:31)atFBXLoader.js:2748:34atArray.forEach(<anonymous>)
at AnimationParser.addClip (FBXLoader.js:2746:17)
at AnimationParser.parse (FBXLoader.js:2456:23)
at FBXTreeParser.parseScene (FBXLoader.js:926:44)
at FBXTreeParser.parse (FBXLoader.js:171:8)
If a project is affected by this issue, can I use the latest threejs version but stick to the fbx loader from r158, or should I stay on threejs r158 until this is solved?
Description
FBX loader does not load models exported from blender when the animation contains a rotation. Only translation works fine. Also export from other DCC (3ds Max) works. Tested with Blender 3.6 and 3ds Max 2020 and r160
Orginial thread: https://discourse.threejs.org/t/blender-fbx-imported-in-threejs-error/62357
@Mugen87 tracked the issue: "it seems this is a regression in FBXLoader which was introduced in r159 by this PR: #27057 "
Reproduction steps
Code
Live example
https://threejs.org/editor/
Screenshots
No response
Version
160
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: