Search Issue Tracker

Active

Votes

3

Found in

2017.4

2019.1.0f1

2020.1

Issue ID

1215183

Regression

No

Audio track is missing some samples if it starts at the first frame of a Timeline in Player

Audio

-

Steps to reproduce:
1. Download attached project "case_1167289-AudioPlayableMissingSamples.zip"
2. Build a player and Run the player build

Reproduced on: 2020.1.0a20
Expected result: The sounds should start without hitching
Actual result: If the sound starts at the first frames of the Timeline, its beginning is cut off

Notes:
1. If the audio samples are dragged a couple of frames forward in the timeline, all the sounds sound identical

Comments (2)

  1. 657db0dc0e11a138f629f06fac3e672f?d=mm

    poliman

    Apr 02, 2020 16:45

    Update:
    Check perfectly on my 41 second recording
    if one audio starts from 0 frame ends on last then audio is moved exactly 1 second to the left, if audio the same 41 second audio  is moved 4 frames from beginning on timeline, then it is moved 4 frames in recording and cuts last 4 frames of sound

    so to workaround for now we must move audio 4 frames and end on last frame then it is the same in editor and in recording, and perhaps in final build, it is like in timeline with a must of 4 frames gap, maybe that gap varies depending on timeline length or audio length, but wll check that on other recording

  2. 657db0dc0e11a138f629f06fac3e672f?d=mm

    poliman

    Apr 02, 2020 16:02

    Well this bug is annoying, it affects play mode, it was fixed in preview of timeline in editor, but it is not fixed in play mode. It also affects Unity recorder.

    My observation is when you move the audio track to the beginning of time line frame 0, then audio is somehow moved backward like 1-2 seconds, so it starts form 2 second of the audio track and also ends about 1-2 second earlier.

    When you move the track exactly 4 frames from start, so the audio track starts on 4th frame, audio syncs ok or it is moved 4 frames from start and ends 4 frames earlier if the audio track is also to the end of timeline.

    So can someone pls check if the audio is moved 4frames it is synced ok on playmode and recorder?

    my workaround it to make timeline work exactly on frames perfect and on final record or build I move 4 frames the tracks that start from frame 0

    Well ... but is an annoying BUG.

    Unity you advertise that you make PIXAR movies on timeline but this is silly come on .!!!!!!  

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.