How to apply import settings to all textures?

Hi, I’ve just updated to Unity 3.5.1. Read that they fixed the image compression. So I now have to check the override for iPhone box and set the compression quality to best. At the moment I have to do this for every texture. Is there a way to apply the settings to ALL of the textures?

Thanks very much.

Shift click all of the textures you want to change and then change the settings for all of the textures at the same time.

I need to do the same thing. I haven’t looked at it much, but maybe this script can help? It’s probably pretty old, so it may not have all of the settings you need, but maybe you or someone can modify it if you need to.

http://www.unifycommunity.com/wiki/index.php?title=TextureImportSettings

You can try something like that and reimport everything :

using UnityEditor;
using UnityEngine;

public class ChangeImportSettings : AssetPostprocessor
{
    void OnPostprocessTexture (Texture2D texture) 
	{
		if( assetPath.Contains("Something") ){
	        TextureImporter textureImporter = assetImporter as TextureImporter;
            // Do your thing
		}
    }
}

In your project tab, search for t:texture2d, and then select all of them. You might get a “narrow selection” thingy in the inspector. Just click the one which has regular Texture2D’s. Now you can change the default setting for all of your textures.

It would be very useful if this was a project setting, but here we are. I’m on Unity 2022.3.