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

serializing issue with BABYLON.ActionManager.OnIntersectionEnterTrigger

$
0
0

In a scene add  an ActionManager to a mesh.

Register an action triggered  by BABYLON.ActionManager.OnIntersectionEnterTrigger

serialize the scene

try to convert the serialized object to string

you will get the following error

"Line 46:28 - Converting circular structure to JSON"

see playground example

http://www.babylonjs-playground.com/#1UTZEV#10

if you comment out line 42

"sphere.actionManager.registerAction(action);"

then it works fine.

Please check

 


Viewing all articles
Browse latest Browse all 760

Trending Articles



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