Hey All,
I have done this >100 times and never had this issue. I have an AudioStreamPlayer
with a .wav file in the stream. In the editor, if I press playing
/set it to true
, I hear the sound just fine. For some reason, however, calling AudioStreamPlayer.play()
from code makes no sound in-game.
It gets weirder... as a test, I connected the AudioStreamPlayer
's "finished" signal
and told it to print when the _on_finished()
function ran... and it did. So it is playing, but there is no sound?
I tested sounds from one of my old games and they played fine, so I think it is the sound file, but it's very weird to me that it plays in the editor but not in-game.
Any Ideas???