WWW.movie doesn't work

I can’t seem to download the movie and play the movie, I keep getting this red box then it doesn’t download. The WWW.error is not reporting any problems but it seems to refuse to download. I even have a while loop that only goes through once and I believe it shouldn’t be.

Here is my code for it

IEnumerator GetMovie(string Path)
	{
		WWW www = new WWW("file:///"+Path);
		MovieTexture DownloadedMovie;
		DownloadedMovie = www.movie;
		while(!www.isDone)
		{
			yield return new WaitForFixedUpdate();
			Debug.Log("Waiting");
		}
		yield return www;

		if(www.error == null)
		{
			isMovie = true;
			isMovieSelection = false;
			TempMovie = DownloadedMovie;
			TempClip = TempMovie.audioClip;

		}
		else
		{
			Debug.Log(www.error);
		}


	}

And this is the picture of the result.

So if anyone has any suggestions that would be great, I did look at the www.movie script reference and I believe it should work the way I have it for this code

Are you sure the path string states “.ogv” and not “.ogg”? It could also depend on encryption. I recommend converting a video format to .ogv here: Convert video to OGV Theora online - It has never failed me when importing to Unity. I hope this helps. :slight_smile: