#queue_free crashes after reparenting child nodes from an orphan node
4 messages · Page 1 of 1 (latest)
did you mean to write for child in instance.get_children(): ?
i would've expected some kind of "invalid call method on null instance" type of error. it's extremely rare in my experience for the game or editor to actually crash instead of just pausing execution and throwing an error.
Parent node is busy setting up children, add_child() failed. Consider using add_child.call_deferred(child) instead.