Hi all,
I just tried cloning an entity and set the new one as a child of the root in the scene pragmatically, I could see the new cloned entity in the scene, but got an error like,
[launch.js:7503]: Maximum call stack size exceeded
Here is my code,
var e = this.entity.clone();
this.app.root.addChild(e);
e.setPosition(1, 1, 1);```
Can anyone plz give me some tips?