### 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
ERR_THREAD_GUARD_V(TypedArray<Node>());
	TypedArray<Node> arr;
	int cc = get_child_count(p_include_internal);
	arr.resize(cc);
	for (int i = 0; i < cc; i++) {
		arr[i] = get_child(i, p_include_internal);
	}
	return arr;
}
Node *Node::_get_child_by_name(const StringName &p_name) const {
	const Node *const *node = data.children.getptr(p_name);
	if (node) {
		return const_cast<Node *>(*node);
	} else {
		return nullptr;
	}
}
Node *Node::get_node_or_null(const NodePath &p_path) const {