[Unity3d] How-to play video in Unity project. MovieTexture

By | May 18, 2015

Advertisement from Google

unity3dIf you want to play movie clip in your Unity3d project you need to have Pro version!

If you are using Windows machine you also need to have QuickTime installed.

After you have everything prepared just drag (or copy) your movie clip into Asset folder, after that you will see it imported.

You need a MovieTexture instance to use imported clip. To play movie clip use following code:

MovieTexture movie;
public void Play()

Advertisement from Google

To stop or pause:


You can access audio clip through audioClip field:

var audio = movie.audioClip;

Importing problems

First, check if you have Apple Quick Time installed.

If you working with a team, it might be a problem when someone imported videos in the project, but you still see them as a simple files. To fix that just select movies and reimport them. For some reason, Unity doesn’t do that automatically.

3 thoughts on “[Unity3d] How-to play video in Unity project. MovieTexture

  1. Allan

    I don’t think you need Unity Pro anymore to play videos. A bit strange that you need QuickTime. I was hoping for better native support from Unity regarding video playback. Adding a video as a texture to a GUITexture or Plane seems a little unintuitive.

  2. ToniRojas

    I in a big trouble wornking for a client. Im playing a .mov in loop mode in a plane object but doesn´t go fluidly. Has lags and jumps between frames. Someone can help me to understand why this is happening?
    Runing o win 8.1, gt 640, i7, 8gb RAM

  3. kanishka1912

    with unity3d PRO version and quicktime installed for windows OS.
    Drop Video File in Streaming assests folder for importing in unity3d


Leave a Reply

Your email address will not be published. Required fields are marked *