I am programmatically creating and saving texture assets (Texture2DArray and Texture2D). They are created in editor of course, but used for mobile. The problem is that in editor they are created as DXT type textures. And of course this doesn’t work on iOS. I added some code to compress to PVRTC when switched to iOS platform, but now they won’t show in the editor because PVRTC is not supported in the editor.
How can I have programmatically created texture assets work in both the editor and iOS? Using uncompressed textures is not an option.