### Godot version

4.0 master commit: 8367152723ebb96b1c799a9c6c9ac1d85178f80a

### System information
```
           `-/osyhddddhyso/-`              angle@Sager 
        .+yddddddddddddddddddy+.           ----------- 
      :yddddddddddddddddddddddddy:         OS: Xubuntu 23.04 x86_64 
    -yddddddddddddddddddddhdddddddy-       Kernel: 6.2.0-26-generic 
   odddddddddddyshdddddddh`dddd+ydddo      Uptime: 2 hours, 14 mins 
 `yddddddhshdd-   ydddddd+`ddh.:dddddy`    Packages: 5713 (dpkg), 11 (brew), 21 
 sddddddy   /d.   :dddddd-:dy`-ddddddds    Shell: bash 5.2.15 
:ddddddds    /+   .dddddd`yy`:ddddddddd:   Resolution: 1920x1080 
sdddddddd`    .    .-:/+ssdyodddddddddds   DE: Xfce 4.18 
ddddddddy                  `:ohddddddddd   WM: Xfwm4 
dddddddd.                      +dddddddd   WM Theme: Default 
sddddddy                        ydddddds   Theme: Greybird [GTK2/3] 
:dddddd+                      .oddddddd:   Icons: elementary-xfce-darker [GTK2/ 
 sdddddo                   ./ydddddddds    Terminal: xfce4-terminal 
 `yddddd.              `:ohddddddddddy`    Terminal Font: Monospace 12 
   oddddh/`      `.:+shdddddddddddddo      CPU: Intel i5-6500 (4) @ 3.600GHz 
    -ydddddhyssyhdddddddddddddddddy-       GPU: NVIDIA GeForce GTX 1050 Ti 
      :yddddddddddddddddddddddddy:         Memory: 6966MiB / 23975MiB 
        .+yddddddddddddddddddy+.
           `-/osyhddddhyso/-`                                      
```


### Issue description

When I compile the latest version of Godot Engine, and then try to run it and open a 4.1 project, or even create a new project, it crashes silently, usually without any kind of error message. I've been having this problem for almost a week now, and it has persisted across me pulling master and recompiling several times. Only once did I manage to get any kind of error message:

```
Godot Engine v4.2.dev.custom_build.29c21e020 - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 525.125.06 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce GTX 1050 Ti
 
Project is missing: /home/angle/Documents/Programming/GodotEngine/Projects/4.0/Advanced Movement System Godot (AMSG) Template/project.godot
Editing project: /home/angle/Documents/Programming/GodotEngine/Projects/4.0/Omnicraft
Godot Engine v4.2.dev.custom_build.29c21e020 - https://godotengine.org
Vulkan API 1.3.224 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1050 Ti
WARNING: Invalid pipelines cache header.
     at: _load_pipeline_cache (drivers/vulkan/rendering_device_vulkan.cpp:9071)
```

### Steps to reproduce

Compile the latest version of Godot from the master branch on a linux machine and then run it and try to create a new project.

### Minimal reproduction project

N/A
if (EditorFileSystem::get_singleton()->is_scanning() || EditorFileSystem::get_singleton()->is_importing()) {
		return; 
	}
	MutexLock lock(mutex);
	Vector<String> to_reimport;
	{
		if (make_flags.is_empty()) {
			return;
		}
		for (const KeyValue<StringName, MakeInfo> &E : make_flags) {
			Ref<ConfigFile> cf;
			cf.instantiate();
			String src_path = String(E.key) + ".import";
			Error err = cf->load(src_path);
			ERR_CONTINUE(err != OK);
			bool changed = false;
			if (E.value.flags & MAKE_NORMAL_FLAG && int(cf->get_value("params", "compress/normal_map")) == 0) {
				print_line(vformat(TTR("%s: Texture detected as used as a normal map in 3D. Enabling red-green texture compression to reduce memory usage (blue channel is discarded)."), String(E.key)));
				cf->set_value("params", "compress/normal_map", 1);
				changed = true;
			}
			if (E.value.flags & MAKE_ROUGHNESS_FLAG && int(cf->get_value("params", "roughness/mode")) == 0) {
				print_line(vformat(TTR("%s: Texture detected as used as a roughness map in 3D. Enabling roughness limiter based on the detected associated normal map at %s."), String(E.key), E.value.normal_path_for_roughness));
				cf->set_value("params", "roughness/mode", E.value.channel_for_roughness + 2);