in line 119 & 120
rotation: instance.rotation.asArray(),
rotationQuaternion: instance.rotationQuaternion.asArray(),
the instance mesh may only have one of above,
so it will show wrong:
babylon.sceneSerializer.js:120 Uncaught TypeError: Cannot read property 'asArray' of undefined