Search Unity

WebGL build with cinemachine does not play clipped audio properly, plays from beginnging instead.

Discussion in 'Cinemachine' started by sacb0y, Jan 14, 2019.

  1. sacb0y

    sacb0y

    Joined:
    May 9, 2016
    Posts:
    874
    I have a audio track with several, instances of the same audio file cut and played at several points. The original audio file is one long audio recording.

    This is so the audio is less likely to lag if the cutscene framerate drops.

    But unfortunately after making the build and publishing it, the audio instead resets every instance which does not happen in play mode. In play mode all the audio works properly...


    This is how the audio track looks.

    For now i'm rolling back from this to one audio track but this really needs to be fixed.

    Some additional info is I have the audio files set to "preloaded"
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,724