Modify textures in a unity project so their width and height are multiples of 4, by adding extra transparent pixels at the edges. (Mutliple of 4 dimensions needed for certain kinds of compression).
- Backup your Unity project (in case something goes wrong)
- Add the script to the project
- Select the textures you want to expand (must be pngs)
- In the menu, choose Assets/Pad texture to multiple of 4 Done