### Godot version

4.0 beta 10

### System information

Android 12gb ram Mediatek G95

### Issue description

Editor is crashing when opening a project from pc to Android editor. 

### Steps to reproduce

Create a scene from pc editor MEDIUM complex.
Now try to open it in Android editor. 

### Minimal reproduction project

https://github.com/selgesel/godot4-third-person-controller
This project. 

### I recommend.
I recommend to add a crash handler for Android editor.
CustomActivityoncrash is a good library to handle crash and logs are displayed on screen. 
int ret = 0;
	GDVIRTUAL_REQUIRED_CALL(_surface_get_array_index_len, p_idx, ret);
	return ret;
}
Array Mesh::surface_get_arrays(int p_surface) const {
	Array ret;
	GDVIRTUAL_REQUIRED_CALL(_surface_get_arrays, p_surface, ret);
	return ret;
}
TypedArray<Array> Mesh::surface_get_blend_shape_arrays(int p_surface) const {
	TypedArray<Array> ret;
	GDVIRTUAL_REQUIRED_CALL(_surface_get_blend_shape_arrays, p_surface, ret);
	return ret;
}
Dictionary Mesh::surface_get_lods(int p_surface) const {
	Dictionary ret;
	GDVIRTUAL_REQUIRED_CALL(_surface_get_lods, p_surface, ret);
	return ret;
}
BitField<Mesh::ArrayFormat> Mesh::surface_get_format(int p_idx) const {
	uint32_t ret = 0;
	GDVIRTUAL_REQUIRED_CALL(_surface_get_format, p_idx, ret);
	return ret;
}
Mesh::PrimitiveType Mesh::surface_get_primitive_type(int p_idx) const {
	uint32_t ret = PRIMITIVE_MAX;
	GDVIRTUAL_REQUIRED_CALL(_surface_get_primitive_type, p_idx, ret);
	return (Mesh::PrimitiveType)ret;
}
void Mesh::surface_set_material(int p_idx, const Ref<Material> &p_material) {