Spatial audio sources with custom volume curve play for a split second regardless of distance.
available in future release
ville672
Audio sources that use a custom volume rolloff curve are playing for a split second at distances where they should not be heard. I also suspect the same issue is causing some audio sources to cut off the beginning of the sound. This issue has been there for years now and causes some very annoying issues like in the video below. I have the settings in the picture that cause the issue.
This issue can be easily observed in my Instagib Tournament world by starting a game with bots and then respawning.
Log In
This post was marked as
available in future release
_
_tau_
Could you confirm if this still happens on the
steam-audio-beta
branch?Honzackcz
_tau_ Yes, I can still make audio source on avatar in a way that can be heard out of it's range. Tho it is way better than on the non Steam audio version, its harder to trigger it and also its more smooth/not clipping.
Non Steam audio can be heard all the time with right setup, important condition is to set client FPS cap to 30 or lower FPS.
On Steam audio it can be heard only when quickly going in and out of the range of audio source while quickly rotating.
_
_tau_
Honzackcz Okay, I will keep this as Tracked then. Thanks for checking!
Honzackcz
_tau_ Ok, I figured how 100% replicate it with Steam audio.
- one avatar is spamming short sounds with play audio component in animator state loop
- other player get close to the avatar, so they can hear the sounds
- the other player looks away from the avatar with sounds and walk away - notice the new sounds stop staring to play as soon as the avatar is culled (sounds that are already playing will finish correctly)
- when the other player is out of the avatar audio source range, the player looks back at the avatar
- now when the avatar is no longer culled the sounds will start to play again and gradually fade out
_
_tau_
Honzackcz Would you be able to share an avatar ID of a repro case?
Honzackcz
_tau_ avtr_05b55efc-b613-4473-9de4-bbded57fd07b
In menu are options to toggle the sounds off completely or just for local player and speed of how often it should play the sounds.
The audio source has range of 3 meters from chest of the avatar.
With the same avatar its also possible to test the original issue on non Steam audio version.
Honzackcz
Adding 100ms silence at the beginning of the audio clips works most of the time as a workaround. That is not a great solution for sound effects that are meant to be used as an immediate reaction to an action.
StormRel
tracked