Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » General Dicussions » Request » Please Help! need to make movie texture play

Please Help! need to make movie texture play

Go down  Message [Page 1 of 1]


Member [Lv. 1]
Member [Lv. 1]
Hello dears,

I'm new with unity and I try to follow already many tutorials, but can't make movie texture applied to plane play. I tried the script suggested:
using UnityEngine;
using System.Collections;

public class videocontroler :MonoBehaviour {
public MovieTexture movTexture;
void Start () {

MovieTexture movie = GetComponent<Renderer>().material.mainTexture as MovieTexture;
movie.Play ();

// Update is called once per frame
void Update () {


and I don't know what's wrong with it, but I can't apply it to my plane, gives an error:
Can't add script component 'video controler' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.

pale pale pale pale pale
who Knows, what am I doing wrong?

View user profile


I think you've given a different name to the file.
should as in the "public class videocontroler: MonoBehaviour{"
If you have renamed in video controler does not recognize the defined class.

View user profile

3 Thanks!!! on Sun Oct 02, 2016 3:33 am


Member [Lv. 1]
Member [Lv. 1]
Thanks!!! That worked! cheers There was a space in between indeed, feel so stupid Embarassed

View user profile

Sponsored content

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum