Hi, we’re currently experiencing an error that appears very randomly when animating models… Unfortunately I’m unable to reproduce it in the playground… How would I go about finding the cause? The error is:
TypeError: Cannot read properties of null (reading 'm')
at core_scene.a._processLateAnimationBindings (animatable.js:730:48)
at core_scene.a._animate (animatable.js:429:1)
at Scene.animate (scene.js:3661:1)
at Scene.render (scene.js:3737:1)
As far as I can see (looking at Babylon’s code) the issue is at this line:
var matrixDecomposeMode = Animation.AllowMatrixDecomposeForInterpolation && originalValue.m; // ie. data is matrix
… and originalValue
is a null in this case… But I have no idea what this function actually does or how to go about fixing it…