### Godot version

4.0 Beta10

### System information

Ubuntu 22.04 (Tuxedo OS)

### Issue description

After importing an *.obj file as a scene, if you click on the mesh in the import settings Godot crashes.

![Screenshot from 2022-12-24 14-38-23](https://user-images.githubusercontent.com/25522325/209452619-3c0ed61b-deaa-4fb6-8ff5-5aa11ff4ed33.png)

I the above screenshot, clicking in the circled area will crash Godot.

### Steps to reproduce

Import .obj file into a project.
Select the file.
Go to import setting.
Change OBJ As Mesh to Scene.
Click Reimport.
Click Save Scenes, Re-Import, and Restart.
Once restarted, open the advanced import settings on the object.
Click the are circled in the description, or in the meshes tab.

### Minimal reproduction project

N/A

Specifically, I lack the distribution rights of the .obj files I am using.  Any .obj file should do, this happened to me on at least 4 different .obj files.
if (idx < 2) {
						idx = 1 ^ idx;
					}
					if (face[idx].size() == 3) {
						int norm = face[idx][2].to_int() - 1;
						if (norm < 0) {
							norm += normals.size() + 1;
						}
						ERR_FAIL_INDEX_V(norm, normals.size(), ERR_FILE_CORRUPT);
						surf_tool->set_normal(normals[norm]);
					}
					if (face[idx].size() >= 2 && !face[idx][1].is_empty()) {
						int uv = face[idx][1].to_int() - 1;
						if (uv < 0) {
							uv += uvs.size() + 1;
						}
						ERR_FAIL_INDEX_V(uv, uvs.size(), ERR_FILE_CORRUPT);
						surf_tool->set_uv(uvs[uv]);
					}
					int vtx = face[idx][0].to_int() - 1;
					if (vtx < 0) {
						vtx += vertices.size() + 1;
					}
					ERR_FAIL_INDEX_V(vtx, vertices.size(), ERR_FILE_CORRUPT);
					Vector3 vertex = vertices[vtx];
					if (!colors.is_empty()) {
						surf_tool->set_color(colors[vtx]);
					}
					if (!smoothing) {
						smooth_group++;