Add_child to root bug

MagicLordMagicLord Posts: 578Unconfirmed

Hi there,

Once an object is instanced and added to the scene it's position is changed to player position.

When i choose the scene root ("level") to add the instance (add_child), there is no instance visible
while choosing ("anotherspatial ") , the instance is visible, This is a bug right ?
-> Player
-> anotherspatial

scene_root_not_working = get_tree().get_root().get_node("level");
scene_root_working = get_tree().get_root().get_node("level").get_node("anotherspatial");


  • kryzmakkryzmak Posts: 57Member

    Seems correct to me and it should work that way. Do you have more details like a code example?

  • MagicLordMagicLord Posts: 578Unconfirmed

    I think this is a bug, i'll upload a test scene.

Sign In or Register to comment.