Hello everyone. Several months ago I posted a topic about reading external audio files during runtime. Helpful people from the forum helped me solve my problem partially but after all this time I’m still struggling over something. I needed to be able to import mp3 files in the game during runtime. I know this can’t be done with Unity only so people linked me to some external libraries for mp3 decoding and encoding. I coudn’t get the libraries to work. As soon as I imported the files, the console said that I’m missing Assembly references so I had to do a huge search to find propper DLL files and even after that, the libraries didn’t work and gave all sorts of errors. The libraries I’m talking about are mp3sharp and nAudio. Both give common errors and I cannot use them.
I’m currently using the WWW class to import ogg and wav files. I want to completely replace this method and not use the WWW class. I couldn’t find any topics about audio decoding. I guess nobody’s doing this or if someone has successfully managed to achieve something like this, he’s keeping it in secret
I even wrote in sites not related to Unity about audio libraries that will enable me to decode an audio file but nobody has answered.
So does anyone know any library that will work with Unity and enable me to decode an mp3 file (preferably ogg and wav files too)?
Cheers!
![]()