Issue Type: Other
Impact: Moderate
Frequency: Constantly
As far as I know this has been an issue since the dawn of time.
Reproduction Steps:
Insert a sound and enable PlayOnRemove, close Studio. The file needs to be sufficiently complex or Studio will close too quickly.
Here is an artificially complicated place file to mimic the complexity of my game. Closing the place should take a few seconds, wherein several loud lightning sounds will play.
PlayOnRemove.rbxl (783,3 KB)
Expected Behavior:
I would expect nothing to play since these sounds are not being destroyed.
Presumably the datamodel is being destroyed when you close Studio or close the place, which causes this behavior.
Actual Behavior:
If you have multiple PlayOnRemove sounds, all of them will play at the same time when you close Studio and deafen you, especially when it’s late at night.
Workaround:
I’m considering writing an SFX manager to handle the total of four cases where I need this behavior in my game. I would have to create these sounds via a script so they don’t live in the datamodel.