void OnApplicationQuit() { //Save texture whenever you quit the game. //Or hit Stop in unity Editor TextureUtilities.Save(imageTextureCopy, "myTexture"); }