Search Unity

WebGL - Pan Stereo

Discussion in 'Web' started by Edan-Smith, Mar 9, 2019.

  1. Edan-Smith

    Edan-Smith

    Joined:
    Jan 21, 2015
    Posts:
    27
    I saw on unity documents that WebGL has limitation on sounds and it only works with a limited amount of properties on the AudioSource.

    https://docs.unity3d.com/Manual/webgl-audio.html

    I enabled my PanStereo attribute on a standalone version and it worked (Ok, as expected), on WebGL it doesn't work (Ok, it isn't listed there on the document, so it is probably expected to not work), but, the doc is saying that AudioSource DOES support panning:
    "Audio sources support basic positional audio playback with pausing and resuming, panning, rolloff, pitch setting, and doppler effect support."

    So, how can I achieve the panStereo effect on a WebGL build if the property doesn't work?
     
  2. igor_shcherbak

    igor_shcherbak

    Joined:
    Feb 28, 2019
    Posts:
    1
    Got the same question. Did you find a solution?
     
    isitsou and soundscouts like this.
  3. soundscouts

    soundscouts

    Joined:
    Apr 6, 2016
    Posts:
    7
    Also having the same issue! The documentation is unclear, but panStereo has not worked
     
    isitsou likes this.
  4. isitsou

    isitsou

    Joined:
    Dec 5, 2019
    Posts:
    3
    Me too, same problem!
     
  5. luistorres_emvenci

    luistorres_emvenci

    Joined:
    Aug 23, 2021
    Posts:
    16
  6. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    598
    unityruba likes this.