### Godot version

0810ecaafdbee3ea747219e6ab3a8de5d2216a09

### System information

Windows 11, Nvidia 3000, firefox

### Issue description

Exporting the gltf file is corrupt in blender.

### Steps to reproduce

1. Open project.
2. Export as glb
3. Open in blender
4. Blender display many warnings

![image](https://user-images.githubusercontent.com/32321/216740742-de662c5c-f5c3-44b5-a36e-8ad33defdbba.png)


### Minimal reproduction project

https://cdn.discordapp.com/attachments/598003845657788438/1071249610896580691/Test_Game_Project.zip


WARN_PRINT(vformat("glTF: Image index '%d' couldn't be loaded with the name: %s. Skipping it.", i, img->get_name()));
					
					p_state->images.push_back(Ref<Texture2D>());
					p_state->source_images.push_back(Ref<Image>());
				}
			}
#endif
		} else if (GLTFState::GLTFHandleBinary(p_state->handle_binary_image) == GLTFState::GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_BASISU) {
			Ref<PortableCompressedTexture2D> tex;
			tex.instantiate();
			tex->set_name(img->get_name());
			tex->set_keep_compressed_buffer(true);
			p_state->source_images.push_back(img);
			tex->create_from_image(img, PortableCompressedTexture2D::COMPRESSION_MODE_BASIS_UNIVERSAL);
			p_state->images.push_back(tex);
			p_state->source_images.push_back(img);
		} else {
			
			Ref<ImageTexture> tex;
			tex.instantiate();
			tex->set_name(img->get_name());
			tex->set_image(img);
			p_state->images.push_back(tex);
			p_state->source_images.push_back(img);
		}
	}
	print_verbose("glTF: Total images: " + itos(p_state->images.size()));
	return OK;
}
Error GLTFDocument::_serialize_textures(Ref<GLTFState> p_state) {