Steam Audio

Steam Audio

AndrewCoggan Nov 29, 2017 @ 2:50am
[Unity] All audio cutting out with pop when walking outside Max Distance of AudioSource
Hi all,

I'm having an issue with all sound in the game cutting out with a pop when crossing over the Max Distance threshold of an AudioSource with the Steam Audio Script attached. All sounds will then begin playing again if i cross back over the Max threshold.

I've tried both using Realtime and Baked Static Source and the issue happens regardless.
I've also been able to replicate this in other test projects 100%.

Has anyone else encountered this issue before?

Unity Version: 2017.3.0b10
Steam Audio Version: 2.0-beta.10
Using Unity Audio Engine (No Middle-ware)
Last edited by AndrewCoggan; Nov 29, 2017 @ 3:00am
< >
Showing 1-3 of 3 comments
lakulish Nov 29, 2017 @ 1:45pm 
Hi,

This is likely occurring because Unity's distance attenuation curve reaches zero when the Audio Source crosses the Max Distance threshold. We are working on a fix for this issue. Meanwhile, try switching from Linear to Logarithmic rolloff, and see if the issue continues to occur.
AC  [developer] Dec 13, 2017 @ 9:39am 
@AndrewCoggan - This issue was fixed in our latest release 2.0-beta.11
AndrewCoggan Dec 14, 2017 @ 8:28am 
Thank you for your response, i will download the newest version and retest.

As a FYI, I did find a temporary workout by ensuring the max distance was bigger than my playable area and controlling the audible distance using a custom AudioSource curve.

< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Nov 29, 2017 @ 2:50am
Posts: 3