Search Issue Tracker

Fixed in 2017.2.0f3

Votes

58

Found in

5.6.0p4

Issue ID

909477

Regression

No

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

Video

-

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

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

Comments (29)

  1. gamecakestudios

    Jan 04, 2019 19:21

    On 2018.2.7f1, I only see the prepareCompleted event triggered the first time when using a VideoPlayer, even when explicitly calling Stop() on it before calling Prepare() again. Additionally, though we are using 2 VideoPlayers, the second VideoPlayer also never calls the prepareCompleted event.

  2. gamecakestudios

    Jan 04, 2019 19:21

    On 2018.2.7f1, I only see the prepareCompleted event triggered the first time when using a VideoPlayer, even when explicitly calling Stop() on it before calling Prepare() again. Additionally, though we are using 2 VideoPlayers, the second VideoPlayer also never calls the prepareCompleted event.

  3. Ekiin

    Nov 24, 2018 08:28

    This issue isn't fixed on version 2018.2.17f1

  4. TayannaStudios

    Nov 21, 2018 13:08

    This still isn't fixed. Videos flicker before being played. The didn't used to do this about 3 or 4 months ago.

  5. GiedriusUnity

    Nov 05, 2018 10:01

    ANATGL - this sounds like a slightly different issue, would you be able to submit a new bug for it?

  6. anatgl

    Nov 02, 2018 09:46

    Still reproduces in 2018.2.14f when using url for video, calling Prepare, isPrepared is never set to true

  7. LudwigVRtualX

    Oct 18, 2018 07:48

    Still having the issue on 2018.2.12f1...

  8. farkas93

    Sep 18, 2018 12:53

    Having this issue again since upgrade from 2017.2 to 2017.4 up to 2018.2.
    Using MP4 videos. Only on Laptops with CPU integrated graphics (Intel Graphics 620).

    Strange thing is with 2017.2 and below I did not have any problems with it on that particular laptop.
    More strange is that I only experience it when project is built and in use, in Editor it works just fine on all devices.

  9. m2164731844

    Jun 05, 2018 07:38

    Not fixed in 2018.1.1.f1
    Build Platform: Android
    VideoPlayer Source = URL

  10. hersheys72

    Apr 19, 2018 00:08

    For me it was working on my dev GPU(Nvidia) and not on our target GPU (AMD), fixed by transcoding the videos

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.