Loading an audo file from a directory that's not Resource

Hi,

Can someone please show me how to go about loading an audio file (audioClip) from a location other than Resources?

Probably a dumb question, but I’ve not seen it done anywhere…

Thanks in advance!

path based loading only works from resources, in other places its not possible as the rest is not part of the build. (the only other case this holds are Asset Bundles which are kind of external Resources folders basically)

If you hooked it up on an AudioClip reference on an object in a scene, you can naturally also use it from there, but it will then be loaded at the start of the scene

Edit: If we talk about external files, WWW is the way to go

Thanks!, both!

Looks like WWW is the way to go.