Weapon firing sound effect does not stop playing

TheRebornAce shared this bug 42 hours ago
Submitted

It was brought to my attention for one of my mods, when certain weapons are fired, the audio for that weapon will continuously play regardless if it has finished firing or not. The block must be turned off manually to stop the looping sound.

It seems to be stemming from weapons that uses looped audio in the audio.sbc file and is most prevalent during multiplayer (both locally hosted or on a dedicated server). Single player doesn't seem to have this issue.

Reproduction steps:

- Download this mod and install onto a new world.

https://steamcommunity.com/workshop/filedetails/?id=3516674509

- Load into the world with at least two players present

- Spawn in the block known as the "CIWS Turret" and have one player control it with the other player standing next to it.

- The player in control fires a small burst

- The other player standing next to the weapon should then hear the sound playing continuously until the block is manually turned off

This bug seems to occur for many other weapon mods that uses looped audio and uses the vanilla combat system (eg. not WeaponCore)

Is there a fix for this that I might not be aware of?

Leave a Comment
 
Attach a file