Sound can't play only locally

Just noticed when I went to my game where the background sound is supposed to play locally, someone followed me then there was mess in the sound like I head it two times and when more came I heard it even more times. The sound-object was placed in the players camera, tried different places and end here nothing worked. @spotco

Seems intended, there’s this method now:

but I still think it is weird that the sound replucate when the sound-object is not even on the server, but ok I should change to that then.

Edit:
What I was supposed to do did not work it can play the sounds, but not stop them or change the volume or any other properties after played.

If the object is replicated, then the sound playback will be replicated. This is now true across the board, regardless of location. If you don’t want to deal with any of this, use that PlayLocalSound method.

1 Like

but is there any way to stop those sounds? I tried the regular way did not work and the method don’t return any sound-object either I can use.

No way to stop a sound played with PlayLocalSound.
It uses the same mechanism as PlayOnRemove.
If you’d like full control over a non-replicated sound, make a filteringenabled game and make your sound object locally.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.