How would you replace assets?

I’m working on a project which has many textures. These textures are used in many materials and prefabs.
Our new target device doesn’t support those textures, so I’m supposed to replace them by other format.

The regular way to do this is to add the new formatted texture and make replacements where it should be used via editor. However I’d have to do this hundreds of times.

Is there a process to do this in less time?

I though about getting the guid of the old texture (in the meta file), delete the old texture and its meta and replace the guid in the meta file for the new texture. Messing with meta files are sure not the wisest thing to do, but I don’t see a better method. Actually I don’t even know if this works.

Look into writing an Editor script to assist you in this. You might want to use a naming convention so you can find and swap textures. Like ‘texture1’ and ‘texture1Android’ or something. Then your script can look for the texture name and just append Android to set the new one.