Search Issue Tracker
Won't Fix
Votes
5
Found in
2018.2.1f1
Issue ID
1064646
Regression
No
[Android] Audio lags from the video when using VideoPlayer
Reproduction steps:
1. Download user's assets and open in Unity
2. Build And Run
3. Click the first (top) button of the apk
Expected: the audio should be in sync with the video
Actual: the audio lags behind
Reproduced on: 2017.1.5f1; 2017.2.3p3; 2017.4.8f1; 2018.1.9f1; 2018.2.2f1; 2018.3.0a6
Reproduced with:
LGE LG G2, Android: 4.4.2
Samsung Galaxy Note 2, Android: 4.4.2
Sony Ericsson Xperia S, Android: 4.1.2 - crash
Not reproduced with:
Google Pixel, Android: 8.1.0
Samsung Galaxy S6 Edge, Android: 7.0
Comments (3)
-
serginian
Mar 05, 2019 08:37
Samsung Galaxy S7 is affected too.
On Samsung Galaxy S8 and S9 seems ok. -
TobiasW
Nov 09, 2018 03:25
BrandonVR, do you mean it will make the audio *re*-sync? If not, then I don't understand what the workaround is.
-
brandonVR
Oct 02, 2018 16:28
A work around I found: It seems that playing the video for about a second (0.5 - 1 second) and then pausing it for about a second (0.5 - 1 second) will make the audio de-sync. The amount of time seems to matter which may be due to the Prepare command being poorly optimized on android.
Its not ideal to have this preparation time for every video, but if you do it off screen it may be workable.
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note:
Lag can happen if movies with variable frame rate are used.