### 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
String res = s;
	bool carry = res.length() > 0;
	for (int i = res.length() - 1; i >= 0; i--) {
		if (!carry) {
			break;
		}
		char32_t n = s[i];
		if (n == '9') { 
			res[i] = '0';
		} else {
			res[i] = s[i] + 1;
			carry = false;
		}
	}
	if (carry) {
		res = "1" + res;
	}
	return res;
}
void Node::_generate_serial_child_name(const Node *p_child, StringName &name) const {