I added an AudioStreamPlayer to my scene and assigned it a .wav file, and set it to autoplay. I connected the finished() signal to the scene's script. Then I put a print function inside to test the signal is emitted. However when the audio stops it does not emit the signal.
I tried the same thing in a blank project in Godot 3.4.2 and get the same results. To confirm looping is disabled.
EDIT: I figured out the problem. My signal callback function looked like this:
Changing it to this made the signal function run:
I assumed it would pass in something to the signal.