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. F7be75de3d14956cdabf6fd6321c277b?d=mm

    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. F7be75de3d14956cdabf6fd6321c277b?d=mm

    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. 8569859cd35fd13660b8740da6073d81?d=mm

    Ekiin

    Nov 24, 2018 08:28

    This issue isn't fixed on version 2018.2.17f1

  4. 4ce668f7b5a18a047f6bdd554f765d0f?d=mm

    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. Ab4e5262c484b0120f2af38d90821a19?d=mm

    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. Caf0dbef5381db69c9dd6a8c0eba2276?d=mm

    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. 5fa1c5fa54d84e89ed99f54cd9ebc593?d=mm

    LudwigVRtualX

    Oct 18, 2018 07:48

    Still having the issue on 2018.2.12f1...

  8. 43e243226a3943ff85b4446e6b2440f2?d=mm

    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. 8568d9f60b4055c585efb0c3c780ed41?d=mm

    m2164731844

    Jun 05, 2018 07:38

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

  10. 04df7806f686b3b3703e2d005ce8830d?d=mm

    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.