Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.4p4
Issue ID
887455
Regression
No
Stereo Pan on AudioSource has no effect on audio generated with OnAudioFilterRead
To reproduce:
1. Open attached project "StereoPanGenSoundBugReport.zip"
2. Open and Play "SineOsc" scene.
3. Select "GeneratedSound" in hierarchy and try to change it's "Stereo Pan". (it has no effect)
4. Stop the game. Disable "GeneratedSound", and enable NormalSound in hierarchy.
5. Play now, and try to change "Stereo Pan" for the "NormalSound". Works as expected.
Expected result: Generated Sound is affected by the Stereo Pan.
Actual result: Generated Sound always sounds the same.
Reproducible with: 5.3.7p1, 5.4.4p4, 5.5.2p3, 5.6.0f1, 2017.1.0a4
Notes: When Spatial Blend is set to 3D, Generated sound is not affected by the stereo effect.
Other properties such as Pitch, Volume, Doppler Level work fine.
Comments (1)
-
CarlosBCV
Apr 22, 2017 17:35
As far as I know, if you implement the OnAudioFilterRead method, you are overriding the controls of the AudioSource, so it is not a bug. Volume, pitch and pan, are applied before the call to OnAudioFilterRead.
If you want to modify the volume, pitch or pan of your generated sound, you have to make it by yourself.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect Shader keyword activation for Shadows when no Light is present in URP
- Editor freezes when loading a specific AssetBundle
- WebGPU builds with Multithreading enabled crash on Safari
- Set as Value in UI Builder doesn't work across all properties.
- Calculating time durations in RenderDoc with DX12 causes 'Device Lost error' popup
This is a duplicate of issue #819365