I downloaded image from URL using DownloadHandlerTexture and the problem is that there is white outline on image because I have no idea how to change Alpha is Transparency ☑ import option at runtime.
Changing texture type to Sprite would solve this too but I don’t see any possibility to do that either.
Is there any way to fix that?
There is Sprite.Create for that
I don’t know about built-in options to this but you can write yourself a script that will fix this on pixel data level and be done with it.
Here is a repo showing how to write multithreaded jobs that will process texture data:
Alternatively you can also write a shader that does the same.