### Godot version

4.0 dev Beta 10

### System information

MacBook Pro M1 Max

### Issue description

After I imported font.ttf file and move it from one folder to another under ://res godot suddenly crashed, and it still crashes after restart.

### Steps to reproduce

Import some font.ttf file and try to move into different folder

### Minimal reproduction project

N/A
const ShapedTextDataAdvanced *sd = shaped_owner.get_or_null(p_shaped);
	ERR_FAIL_COND_V(!sd, 0.0);
	MutexLock lock(sd->mutex);
	if (!sd->valid) {
		const_cast<TextServerAdvanced *>(this)->_shaped_text_shape(p_shaped);
	}
	return sd->uthk;
}
void TextServerAdvanced::_insert_num_systems_lang() {
	
	{
		NumSystemData ar;
		aert("ar")); 
		aert("ar_AE"));
		aert("ar_BH"));
		aert("ar_DJ"));
		aert("ar_EG"));
		aert("ar_ER"));
		aert("ar_IL"));
		aert("ar_IQ"));
		aert("ar_JO"));
		aert("ar_KM"));
		aert("ar_KW"));
		aert("ar_LB"));
		aert("ar_MR"));