Default texture compression

Is there a way to establish the default texture compression once they are added to a project ? What if I want all new textures to be compressed for iPhone PVRTC2 w/o MIPS maps ?
I don’t want Unity to waste time compressing textures in a format that is not useful for me…

You must do a script that does that for you and place it in the EDITOR folder of your project.

Well, that’s what I tried to do… but with no results (getting a black square); I posted this to Scripting

http://forum.unity3d.com/threads/80978-Problem-with-editor-script-for-texture-compression

what you do there is add a function to change it through script, it has nothing to do with the default.

for that you need to implement asset preprocessors

Where do I find that in Unity’s literature ? (or somewhere on the web)

in the script reference - editor classes

I was also using the EditorUtility.CompressTexture from a menu command, but all I get is a black box…

http://forum.unity3d.com/threads/80978-Problem-with-editor-script-for-texture-compression

As of 2018.1 you can now define default import settings for all kinds of assets using the Unity preset system: