I’m making a game where the user dynamically adds objects and saves them to come back to, I currently have it all figured out after many a nights tinkering with serializing, well I have got how to save a recording to a wav file and how to call that back during gameplay, but how do I delete that file? Let’s say a user makes a song and wants to delete it after a couple of days to make space, I’d like to delete the sounds from his device as well as the serialized strings to stop the game from being a memory consuming monster, any ideas on how to go about this? Or any links that explain it? It must be during gameplay so Editor scripts for sure won’t work.

You can try like this to delete the sound file created:

System.IO.File.Delete(yourFilePath);