TextureImporterSettings.alphaIsTransparency doesn't seem to be persistent

I’m trying to get textures imported into the unity project at runtime. Right now, I just move the textures from file into the Textures folder with regular C# functions:```
File.Copy(imagePath, Application.dataPath + “/Textures/” + folderName_ + “/” + imageName + “.png”, true);


```csharp
TextureImporter i = TextureImporter.GetAtPath("Assets/Textures/" + folderName_ + "/" + imageName + ".png") as TextureImporter;
TextureImporterSettings settings = new TextureImporterSettings();
i.ReadTextureSettings(settings);
settings.alphaIsTransparency = true;
i.SetTextureSettings(settings);

This seems to enable the AlphaIsTransparency toggle in the asset, but it doesn’t actually make the image transparent.
Am I using the TextureImporterSettings correctly? Is there anything else I need to do to make the change persist?

you maybe need to reimport the texture?
i.SaveAndReimport()?

I’m a bit rusty with this, cannot remember exactly

Yup, that worked great! Thank you!