Search Issue Tracker

Fixed in 2018.3

Fixed in 2017.4, 2018.2

Votes

31

Found in

2017.1.0p4

Issue ID

950054

Regression

No

Seeking backwards in VideoPlayer video takes considerably more time than seeking forwards

Video

-

Steps to reproduce:
1. Open user attached project "VideoPerformance.zip"
2. Build for android device
3. Press "High profile" video
4. Seek forwards, it should take a second or two to calculate and show video at the selected time
5. Seek backwards, it should take much more time to calculate and show video
6. Seeking to start is instant

Expected: Seeking forwards or backwards should be optimized better and in general it should take about the same amount of time
Actual: Seeking forwards seems to be easier than seeking backwards

Reproduced on: 2017.1.p2, 2017.2.0f1, 5.6.3p3

Devices under test:
Huawei P9 Android 7.0
Samsung Galaxy S7 Android 7.0
Samsung Galaxy S8 Android 7.0

Comments (12)

  1. E672f449ddbb1fe512bc1d2132322c08?d=mm

    IGutierrez

    Jul 21, 2018 21:52

    I had the same issue on 2017.3.0f3 and Android (iOS works fine), and after trying a lot of things, what worked for me was to go to the end of the video (videoPlayer.time = clip.length), wait 1 sec, play the video, wait 1 sec, and then advance to the "rewind" position previously stored.
    Without the waits, it just do the same error, "pause" the video and then play it after a couple of seconds/minutes

  2. 179d04f4b89a68eb4d0b30bd12d67ed4?d=mm

    behdadsoft

    Jun 17, 2018 09:43

    This problem fixed in Unity 2018.2.b8, but sometimes this problem happen again.

  3. 1289bb0ca70d951c1bc5296de95b3b2e?d=mm

    holofarm

    May 23, 2018 15:40

    Fix confirmed:
    float currentTime = (float)videoPlayer.time;
    if (_time > currentTime)
    videoPlayer.Pause();
    else {
    videoPlayer.Stop();
    }

    videoStatusText.text = "LOADING";
    videoPlayer.time = _time;
    videoPlayer.Play();

    SYSU501JAN 30, 2018 02:41
    We have found a way to workaround this bug , we restart the url when we want to seek backwards , so the "backwards" is converted to "forwards" ; Another way is you can prepare two videoplayer , that can convert the "backwards" to "forwards" , too.
    , by Sam and Rw from China, we hope this idea can help you.

  4. 49a337c02f37c44472cab5d95a0c4918?d=mm

    korypse

    Mar 06, 2018 14:22

    Please fix that issue!!

  5. F831506075a21348e1e6fd380938486d?d=mm

    SamMazer

    Feb 27, 2018 18:50

    Please fix video player's issues, thanks!

  6. B23c2548468ab77f6433a44b16ad3737?d=mm

    sysu501

    Jan 30, 2018 02:41

    We have found a way to workaround this bug , we restart the url when we want to seek backwards , so the "backwards" is converted to "forwards" ; Another way is you can prepare two videoplayer , that can convert the "backwards" to "forwards" , too.
    , by Sam and Rw from China, we hope this idea can help you.

  7. D035d7acda87a6138b60311f5387ee7c?d=mm

    zzwang1203247639

    Jan 19, 2018 02:24

    please fix the issue, thank u

  8. 9400e25c9597c50abadb37a5022f5982?d=mm

    leemeitao

    Jan 19, 2018 02:14

    Same issue on Unity 2017.3.0f3 , android

  9. B23c2548468ab77f6433a44b16ad3737?d=mm

    sysu501

    Jan 18, 2018 02:39

    Same issue on Unity 2017.3.0f3, with MI MAX2 Android 7.1.1

  10. F07f5d5221e76f29f0f55f4ef5650ed5?d=mm

    rattlesnake

    Dec 13, 2017 10:23

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.