<h5 dir="auto">Description of the problem</h5>
<p dir="auto">Pulling this over from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="256469550" data-permission-text="Title is private" data-url="https://github.com/aframevr/aframe/issues/3036" data-hovercard-type="issue" data-hovercard-url="/aframevr/aframe/issues/3036/hovercard" href="https://github.com/aframevr/aframe/issues/3036">aframevr/aframe#3036</a>. Each keyframe for the <code class="notranslate">scale</code> channel (for example) contains 9 floats. GLTFLoader creates KeyframeTracks incorrectly for cubic spline interpolation, the scale comes to <code class="notranslate">0 0 0</code>, and errors are thrown.</p>
<p dir="auto">Linear interpolation works correctly.</p>
<p dir="auto"><a href="https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#appendix-c-spline-interpolation">glTF cubic spline interpolation notes</a>.</p>
<p dir="auto">Assets:</p>
<ul dir="auto">
<li>.gltf: <a href="https://s3.amazonaws.com/bug-figures/v2-locrotscale-cube-embedded-buffers.gltf" rel="nofollow">https://s3.amazonaws.com/bug-figures/v2-locrotscale-cube-embedded-buffers.gltf</a></li>
<li>.blend: <a href="https://s3.amazonaws.com/bug-figures/cube.blend" rel="nofollow">https://s3.amazonaws.com/bug-figures/cube.blend</a></li>
</ul>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r87</li>
<li>[] ...</li>
</ul>
<p dir="auto">I've noticed that GLTF2Loader is undergoing fairly rapid iteration. Is there work in progress on supporting the new interpolation modes, most interestingly CUBICSPLINE? Of all the improvements from GLTF1 to GLTF2, getting away from densely sampled animation transforms (and the resulting enormous model files) is perhaps the most exciting.</p>
<p dir="auto">If nobody else is working on this, we may end up taking a pass on it.</p>