Hello group. Having a lot of troubles recently with audio playing in both the editor and the project when playing a scene.
onready var soundfx:AudioStreamPlayer=getnode("soundfx")
if (Input.isactionjustpressed("fire")):
sound_fx.play()
currently the sound does not play in editor, but the audio graph thing (master Bus) has detected the sound when I try to test the sound file.
also my soundcard is fine as it plays everything else and I have unchecked "exclusive mode". This originally happened in my current project and now it has started in my previous projects. Hoping for some help on this one brains trust
edit I have tried exporting the projects and the sound works ingame so this problem only occurs when testing the soundfile in the editor or testing the scene.