- Home /
VideoPlayer clip is not showing the correct clip, but DOES play the right one.
So I'm having this problem, on my program I instantiate 2 prefab with a videoplayer, the clip is set to null and the I create a RenderTexture for each clip as shown on Image 1, then I assign the clip with an url, everything good there, after thta I prepare the video and setup the controllers(a slider, timers, playpause, etc.).
The problem is that on my second prefab when I try to see the videoplayer.clip to setup the timer and the slider, it collects the data from the clip of the first prefab, even though they are different videoplayers and the 2 clips are loaded from an url. As sown on Image 2
I've tried a lot of things but nothing seems to work, please HELP!
I've tried:
-Setting up the videoplayer.clip to null on the start of every prefab and the assign it with the url and it still shows the first clip of the other videoplayer.
- Wait until one video has been prepared and then prepare the other one.
- Some other nonsense stuff
![alt text][1] [1]: /storage/temp/118049-2.png
Your answer
Follow this Question
Related Questions
VideoPlayer freezes on loop 1 Answer
Does Unity 2018 support H.265 HEVC video? 0 Answers
Import Video Codec H.264 MP4 from Premiere 6 Answers
Video Player stuck on first frame 1 Answer
Play High Quality Video in Unity 2 Answers