Search Issue Tracker

Fixed in 2017.2.0f3



Found in


Issue ID




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



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

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

Re-encoding the videos in the Unity inspector should fix any remaining issues.

Comments (29)

  1. F17aa837357e5d2a6746de8fc62f6279?d=mm


    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

  2. 33c40919b6f814e5f07bacfd50e48d20?d=mm


    Oct 11, 2017 01:30

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

  3. 054d54e5577e4ffd7f3dc745ed35a9aa?d=mm


    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.

  4. Dfa7192d860a9168720a6fda0c40a537?d=mm


    Sep 27, 2017 17:51

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

  5. 5c9e21eefeb8f652abf8953d4e8730b7?d=mm


    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.

  6. Cd850afdd1e689f54a1256ff242cf129?d=mm


    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.

  7. F6e7c41cc7dc18e20ed7e7d078b9a304?d=mm


    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.

  8. F6e7c41cc7dc18e20ed7e7d078b9a304?d=mm


    Jun 03, 2017 19:57

    I get this delay as well, but also get a similar delay when VideoPlayer.Stop() is called.

  9. Fd55fc7d961a5c1e0de27e15c23b3f52?d=mm


    Jun 02, 2017 17:27

    We were told that this issue is also the reason that we see temporary game freeze when calling Prepare() on windows platform.

    Prepare() should not block the game loop. This is very important when trying to use video player to do video preview(loading thumbnail).

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.