[0.18.9.0] Sound Emitters: OnSoundEnded not working if "Play Once" is turned on

Video Reference
Summary of bug: OnSoundEnded for both Sound Emitter and Workshop Sound Emitter doesn’t work if “Play Once” is turned on.
Video Reference below is a case of Workshop Sound Emitter, but I tested that regular Sound Emitters also have the same bug.

Steps to Reproduce

Connections don’t work when “Play Once” is set “On”.
First half of the video: Connections don’t progress any further when the sound ends.
(“Counter” should’ve disappeared, hidden button should’ve appeared again)
Worked normally last year.

What I expected to happen

Second half of the video: Connections work just fine when it’s set “Off”.
(“Counter” disappears, hidden button appears)

3 Likes

I’ll be fixing this soon.

3 Likes

Any chance if this will be fixed soon? I’ve been waiting to get it fixed since I cannot run my condo properly with this bug.

2 Likes

unknown-641

2 Likes

This is still an issue as of 1.1.1.1, but as a workaround I found that if you turn off Play Once, then have the sound emitted stop itself using OnSoundEnded you can get a similar effect as having Play Once turned on

Not ideal, but might just be enough.

1 Like

This is now fixed in 1.1.2.0. Sorry for the delay, it was a bit tricky and required a refactor.

1 Like