Search Issue Tracker

Fixed in Unity 2017.2

Votes

58

Found in

5.6.0p4

Issue ID

909477

Regression

No

VideoPlayer.Play() still has a delay after using VideoPlayer.Prepare()

Video

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

Steps to reproduce:
1. Download and open the attached project
2. Enter Play mode

Expected result: videos are played seamlessly due to being prepared
Actual result: videos still have a delay when they are started to play, even if they were prepared

Reproduced on 5.6.0p4, 5.6.1p2, 2017.1.0b4, 2017.1.0b8, 2017.2.0a1
Feature introduced in 5.6

Notes:
-User suggests ideally having a queue of videos to be prepared
-The issue appears on Android platform too

Comments (12)

  1. 33c40919b6f814e5f07bacfd50e48d20?d=mm

    hurleybird

    Nov 07, 2017 21:43

    This is totally not fixed in 2017.2.0p1

  2. 8da20b30a772f5d032927437314875be?d=mm

    im-berzki

    Oct 29, 2017 14:03

    And what about delay on Android?

    STR:
    1. set url to VideoPlayer;
    2. Slow down your network connection;
    3. call VideoPlayer.Prepare() or ViedoPlayer.Play();
    4. Observe that whole game freezes until Video playback not started;

    It's still occurs!

  3. 8265ed728f9082fadaae67772d4a3557?d=mm

    davidosullivan

    Oct 27, 2017 15:26

    Please patch this in 2017.1 aswell. I cant update to 2017.2 because that has other bugs in that break UMA

  4. F17aa837357e5d2a6746de8fc62f6279?d=mm

    t-schulz

    Oct 13, 2017 08:30

    The videoplayer prepare blocks my app for more than 3 seconds on an OnePlus 5.... thats unbelievable... unity 5.6.3f1 and 2017.1

  5. 33c40919b6f814e5f07bacfd50e48d20?d=mm

    hurleybird

    Oct 11, 2017 01:30

    Hopefully they can finally put this one to rest sooner than later.

  6. 054d54e5577e4ffd7f3dc745ed35a9aa?d=mm

    pratham2504

    Oct 01, 2017 17:53

    The problem is still prevailing guys. Please help with a solution.
    The videos seems to be working fine when played with a VideoClip hosted locally, but when a URL hosted on the cloud is played it takes forever the prepare and play.

  7. Dfa7192d860a9168720a6fda0c40a537?d=mm

    DGordon

    Sep 27, 2017 17:51

    How is this considered acceptable to hitch the entire app every time a video needs to be prepared? Sheesh.

  8. 5c9e21eefeb8f652abf8953d4e8730b7?d=mm

    Tibor-Udvari

    Jul 29, 2017 21:44

    I'm also getting this when trying to loop videos. I'm making an AR app that puts 1-2 second looping videos on AR targets, getting this 0.2 second delay is not helping my experience. I'm getting this on iOS but also visible on the unity editor.

  9. Cd850afdd1e689f54a1256ff242cf129?d=mm

    ogs091

    Jul 14, 2017 00:36

    I get this delay on Android. The entire app hangs for 4 or 5 seconds. Since you can't run videoplayer.Prepare() in a background thread, I'm not sure how to work around this.

  10. F6e7c41cc7dc18e20ed7e7d078b9a304?d=mm

    Mitnainartinarian

    Jun 04, 2017 18:41

    Just an addition to my previous comment. I'm only getting significant delays on Android. On iOS the delays are much shorter and more manageable.

All about bugs

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