### 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.
String add = f->get_line().strip_edges();
			l += add;
			if (add.is_empty()) {
				break;
			}
		}
		if (l.begins_with("v ")) {
			
			Vector<String> v = l.split(" ", false);
			ERR_FAIL_COND_V(v.size() < 4, ERR_FILE_CORRUPT);
			Vector3 vtx;
			vtx.x = v[1].to_float() * scale_mesh.x + offset_mesh.x;
			vtx.y = v[2].to_float() * scale_mesh.y + offset_mesh.y;
			vtx.z = v[3].to_float() * scale_mesh.z + offset_mesh.z;
			vertices.push_back(vtx);
			
			if (v.size() == 7) {
				while (colors.size() < vertices.size() - 1) {
					colors.push_back(Color(1.0, 1.0, 1.0));
				}
				Color c;
				c.r = v[4].to_float();
				c.g = v[5].to_float();
				c.b = v[6].to_float();
				colors.push_back(c);
			} else if (!colors.is_empty()) {
				colors.push_back(Color(1.0, 1.0, 1.0));
			}
		} else if (l.begins_with("vt ")) {