Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

SceneSerializer: rotation.asArray is not a function

$
0
0

Hello

I am trying to serialize the scene with

BABYLON.SceneSerializer.Serialize(scene)

 and am getting a "mesh.rotation.asArray is not a function".

Serialization works fine when meshes are not rotated.

On further exploration, I realised that that mesh.rotation was not a Vector3 object but an object with getters, setters and __op__: Observer. Could this be the issue? 

Can you please help me fix this.

Please let me know if you need more details.

Thank you


Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>