Search Unity

Bug when the editor hiccups audio and 3D lose sync

Discussion in 'Timeline' started by laurentlavigne, Nov 6, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
    and the editor hiccups a LOT in 2020.1 so it's very noticeable
    fix is simple: stop and play again, not really a fix
    sync loss remains for the duration of the audio clip
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Is the playableDirector time update mode set to DSP? If it's set to game time, linear slip is possible because the audio clock can slip from game time (especially if Time.maximumDeltaTime is reached).

    DSP will update the timeline based on the audio clock time.
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
    fount it, switched it, played and got a hiccup, audio was still in-sync. great, thanks!