title: Unity Error: Missing assembly reference
body: <p>I'm trying to build my game on WebGL in unity3d v5.4.0f3 and I'm getting this error:</p>
  
  <blockquote>
    <p>errorCS-0246:The type or namespace name 'MovieTexture' could not be
    found. Are you missing a using directive or assembly reference?</p>
  </blockquote>
  
  <p>Here's the c# code :</p>
  
  <pre><code>using UnityEngine;
  
  using System.Collections;
  
  using UnityEngine.UI;
  
  
  [RequireComponent (typeof(AudioSource))]
  
  public class videoplayer : MonoBehaviour {
  
      public MovieTexture movie;
      private AudioSource audio;
  
      void Start () {
  
          GetComponent&lt;RawImage&gt;().texture = movie as MovieTexture;
          audio = GetComponent&lt;AudioSource&gt;();
          audio.clip = movie.audioClip;
          movie.Play ();
          audio.Play();
  
      }
  
      void Update () {
  
      }
  }
  </code></pre>