### Godot version

4.1.1-stable

### System information

Windows 10

### Issue description

When the project loads in editor, all the settings defined in project settings will be loaded over the default values, but when running the game nearly 95% of them will be ignored resulting in just loading the default settings.

here it's just loading only 4 variables from project setting and i have added the fifth in this pull request https://github.com/godotengine/godot/pull/80151
![image](https://github.com/godotengine/godot/assets/53877170/926168a6-e6d3-4983-b59d-7fd202db681d)

GLES3::TextureStorage *texture_storage = GLES3::TextureStorage::get_singleton();
	if (p_texture == RID()) {
		p_texture = default_canvas_texture;
	}
	GLES3::CanvasTexture *ct = nullptr;
	GLES3::Texture *t = texture_storage->get_texture(p_texture);
	if (t) {
		
		if (!t->canvas_texture) {
			t->canvas_texture = memnew(GLES3::CanvasTexture);
			t->canvas_texture->diffuse = p_texture;
		}
		ct = t->canvas_texture;
	} else {
		ct = texture_storage->get_canvas_texture(p_texture);
	}
	if (!ct) {
		
		_prepare_canvas_texture(default_canvas_texture, p_base_filter, p_base_repeat, r_index, r_texpixel_size);
		return;
	}