### 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
}
			} else {
				data.process_owner = this;
			}
			{ 
				if (data.process_thread_group == PROCESS_THREAD_GROUP_INHERIT) {
					if (data.parent) {
						data.process_thread_group_owner = data.parent->data.process_thread_group_owner;
					}
					if (data.process_thread_group_owner) {
						data.process_group = data.process_thread_group_owner->data.process_group;
					} else {
						data.process_group = &data.tree->default_process_group;
					}
				} else {
					data.process_thread_group_owner = this;
					_add_process_group();
				}
				if (_is_any_processing()) {
					_add_to_process_thread_group();
				}
			}
			if (data.input) {
				add_to_group("_vp_input" + itos(get_viewport()->get_instance_id()));
			}
			if (data.shortcut_input) {
				add_to_group("_vp_shortcut_input" + itos(get_viewport()->get_instance_id()));
			}
			if (data.unhandled_input) {
				add_to_group("_vp_unhandled_input" + itos(get_viewport()->get_instance_id()));