Movie Texture problems (frame drops, lag, slow)


I’m having problems with movie textures on Unity 4.5. With FHD videos, there are frame drops, really really bad…

Any of you knows an alternative to movie textures?

I had the same problem and fixed it by setting QualitySettings.vSyncCount to Don’t Sync.


public MovieTexture myMovie;
int vsyncprevious;

void Start ()
   vsyncprevious = QualitySettings.vSyncCount;
   QualitySettings.vSyncCount = 0;

void Update()
   if (!myMovie.isPlaying())
     QualitySettings.vSyncCount = vsyncprevious;

This is an old problem and I don’t think there’s a real solution.
As silly as it sounds, changing the texture frame by frame is actually faster:

I had this problem with mp4 files and solved it by changing to ogv files.

Use format .MOV in your movie