Search Issue Tracker
By Design
Votes
1
Found in
2017.4.0f1
2018.4.0f1
2019.2
2019.2.8f1
2019.3
2020.1
Issue ID
1192132
Regression
No
[Timeline] Changing PlayableDirector.time causes gaps in audio
Reproduction steps:
1. Open project in "AudioLoopTest.zip"
2. Select "Sound" in Hierarchy window
3. Window -> Sequencing -> Timeline
4. Notice how audio track in the Timeline has no gaps
5. Enter Play Mode
Expected results: when "loop.cs" script changes PlayableDirector.time there will be no gaps in the audio played
Actual results: each time PlayableDirector.time is changed there is a gap and a crack noise in the audio played
Reproducible with: 2017.4.33f1, 2018.4.12f1, 2019.2.10f1, 2019.3.0b8, 2020.1.0a9
Notes:
1. Audio file format does not seem to influence the results (checked with .mp3 and .wav)
2. In some Unity versions, you might need to reattach TimelineAsset(SoundTimeline) to "Sound" Playable Director as it is removed.
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2020.1.X):
This is expected behaviour. The audio system needs to know ahead of time about loop sections, and changing playableDirector.time will cause an immediate re-seek and delay/pop in the sound.