Movie texture only working in editor

Hello Everyone!
I have a movie texture in my scene that works perfectly in editor play mode. When I build to standalone and run the exe, the movie texture doesn’t play. I also noticed after building, the movie texture seems to disappear in the editor until I run play mode again. Any ideas? I’ll make a test scene if necessary, I’m on a tight deadline with my current project. Thanks for reading! (this is beta 14 and 15)
Script to play movie texture:

using UnityEngine;
using System.Collections;

public class MoviePlay : MonoBehaviour {
    private MovieTexture movTexture;
    // Use this for initialization
    void Start () {
        movTexture = (MovieTexture)(GetComponent<Renderer>().material.mainTexture);
        movTexture.loop = true;
        movTexture.Play();
    }
   
    // Update is called once per frame
    void Update () {
   
    }
}

Yes,I noticed the same. I sent the bug report and the bug will be fixed in the next Beta I hope.

Try B16 and see if that helps. I’m using MovieTextures with B16 and they are appearing in both the editor & standalone (tested on OS X & Windows 8.1).

Your MovieTexture code looks like it should work; just in case you want it for reference, here is what my working code looks like:

string moviePath = "videos/"+movieName;
movieGUItexture = this.GetComponent<GUITexture>();
movieAudioSource = this.GetComponent<AudioSource>();
movieTextureActual = (MovieTexture)Resources.Load(moviePath);
movieAudioSource.clip = movieTextureActual.audioClip;
movieGUItexture.texture = movieTextureActual;
movieTextureActual.Play();
movieAudioSource.Play();

I know your code is loading the MovieTexture to an actual component whereas mine is loading into a GUITexture, but I don’t think that difference would be causing the problem.

Thanks for filing a bug report Tomza! Also thanks for replying shawn! Also I tried beta 16 with a test scene, same result as 14 and 15. I’ll try using a gui texture and see how that goes. I also tried using resources.load to apply the movie texture, no luck there either. Next thing I’ll try is a simple low res image (current movie texture is 2820x96, its for a board in a stadium) and using a guitexture.

Update:
I did try a small 256x256 2 second image to rule out too high of resolution or length. Its no big deal for right now, perhaps the next beta will have a solution :smile:

Just a follow up- Looks like MovieTextures are working in beta17! Great job Unity Team!