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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.