- Home /
Switching Videoclips for VideoPlayer in Unity degrades FPS drastically
I am using the Video player API that unity provides for playing a video on the surface texture. While I am changing the video clip after each update the FPS on the editor is really slow. The switching and loading the new video clip takes a lot of time (500-600 ms)
videoPlayer.clip = videoClips [vindex]; //this command used for changing the videoclip
I just put the timer before and after and found it consumes a huge amount of time.
Can anyone please tell me how to reduce the time and increase the FPS. Any alternative way or suggestion will highly be appreciated. (Platform: Unity Editor on windows)
Your answer
Follow this Question
Related Questions
MovieTexture.duration is giving me the wrong time. 1 Answer
Youtube Video Player Plugin Screen Freeze 0 Answers
Streaming Video In and Out of Unity 0 Answers
Unity Crashes when Video player url is non-video 0 Answers
Playing Video in Unity 5 (on mobile) 4 Answers