Hi all, I’m building a project 2.4.10 to android 33 & testing debug with Android Studio
and I realize that the command
const newNode = cc.instantate(sampleNode)
removes all components from the new node
console.log( newNode.getComponent(cc.Sprite) ) // null
Have anyone experienced this, please give me an advice?