There’s also another bug that I don’t get why it happens.
I have an entity with a child. Or at least I see only one child in the editor. But in code there are 2, the entity that I saw in the editor and another child of type GraphNode. That GraphNode child is always first so I use the index 1 to take the entity child. The thing is that when I change the asset id (I only change the asset id) the position of these children change. Is that normal?
It’s fine, I already solved it. I didn’t need any asset registry. I just changed the id. and then playcanvas changes the model of the entity to the one of that id.