Search Issue Tracker

Fixed in 2018.3.X

Votes

8

Found in

2017.2.0p3

Issue ID

984235

Regression

Yes

[WebGL] [VideoPlayer] When a movie is played the second and subsequent times, the screen doesn't render

Video

-

To reproduce:
1) Open attached project
2) Build and run on WebGL
3) Play the movie - notice it runs normally in each loop
4) Stop it and restart

When a movie is played the second and subsequent times, the screen is black (but the sound plays).

Reproduced in 2017.1.2p1, 2017.1.2p2, 2017.1.3f1, 2017.2.0p3, 2018.1.0b1
Not reproduced in 2017.1.2f1.

Browsers reproduced in - Firefox 57.0.2 (64-bit), Chrome Version 63.0.3239.108 (Official Build) (64-bit)

Comments (60)

  1. aostvapk1

    Jun 07, 2021 19:36

    excellent article and very informative...

  2. ser1es

    Nov 08, 2020 20:53

    thanks for sharing

  3. Scott-Elson

    Aug 16, 2019 21:56

    Found this thread when I ran into this with Unity 2017.4.29f1. In case anyone else needs this I thought I'd pass along what fixed it for us. During our post play reset we were calling Stop to set the frame count back to zero and in case there was any other internal cleanup that it might do before the next time we'd play the video. Since we knew the video was already finished playing instead I just set the frame count back to zero directly. So far I've been able to replay the videos just fine. I am getting a warning about texsubimage2d source must not be null but I haven't looked at the browser console in regards to this in quite a while so I'm not sure it's directly related.

  4. sharkiya

    Mar 29, 2019 09:00

    Did anyone solve this issue?

  5. wladivinci

    Dec 13, 2018 23:56

    Ah, I thought I got the latest version, but I got 2018.2. I downloaded specifical 2018.3 and it works, thank you!!!

  6. wladivinci

    Dec 13, 2018 22:57

    I have the same problem in 2018.2.18f1.
    The Browser console shows this error: AbortError: The operation was aborted.

    Before there are a lot of other messages like: [UnityCache] indexedDB database could not be opened. Does it have something to do with it?

  7. bhuvanesh22

    Aug 28, 2018 06:13

    Have the same Issue even from playing first time, in unity 2018.2.1f1

  8. bhuvanesh22

    Aug 28, 2018 06:13

    Have the same Issue even from playing first time, in unity 2018.2.1f1

  9. bhuvanesh22

    Aug 28, 2018 06:13

    Have the same Issue even from playing first time, in unity 2018.2.1f1

  10. bhuvanesh22

    Aug 28, 2018 06:13

    Have the same Issue even from playing first time, in unity 2018.2.1f1

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.