### Godot version

4.1 dev

### System information

Win 10

### Issue description

Have a node and bunch of child nodes.
Some get _ready called, and some do not.

### Steps to reproduce

create a scene and bunch of child nodes with different sripts.

### Minimal reproduction project

n/a
return data.unique_name_in_owner;
}
void Node::set_owner(Node *p_owner) {
	ERR_MAIN_THREAD_GUARD
	if (data.owner) {
		_clean_up_owner();
	}
	ERR_FAIL_COND(p_owner == this);
	if (!p_owner) {
		return;
	}
	Node *check = this->get_parent();
	bool owner_valid = false;
	while (check) {
		if (check == p_owner) {
			owner_valid = true;
			break;
		}
		check = check->data.parent;
	}
	ERR_FAIL_COND(!owner_valid);
	_set_owner_nocheck(p_owner);
	if (data.unique_name_in_owner) {
		_acquire_unique_name_in_owner();
	}
}
Node *Node::get_owner() const {