### 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(false);
	return data.grouped.has(p_identifier);
}
void Node::add_to_group(const StringName &p_identifier, bool p_persistent) {
	ERR_THREAD_GUARD
	ERR_FAIL_COND(!p_identifier.operator String().length());
	if (data.grouped.has(p_identifier)) {
		return;
	}
	GroupData gd;
	if (data.tree) {
		gd.group = data.tree->add_to_group(p_identifier, this);
	} else {
		gd.group = nullptr;
	}
	gd.persistent = p_persistent;
	data.grouped[p_identifier] = gd;
}
void Node::remove_from_group(const StringName &p_identifier) {