I have a bunch of sound files in res://sfx/ and in my code I use Directory to get a list of the files, basically:
var ext = ".ogg"
var file = dir.get_next()
The I use sfx = load(audio_file)
It works when running from the editor but when the game is packaged up in a PCK file, the directory no longer contains OGG or WAV files. It still has ogg.import and wave.import files. Not sure what's going on.
Any suggestions appreciated!