Issue Building my Video scene to Android (63201)

Hi,

i have a problem when i build my scene to android. I have a movie file in my scene. All the functionality of the scene is good. After i change it to android platform i build the scene but its not build its showing the below error:

Assets/Script/MoviePlay.cs(8,16): error CS0246: The type or namespace name `MovieTexture’ could not be found. Are you missing a using directive or an assembly reference?

But i can build the other scenes which is not have the movie.
I dont know why its happen. Help me to build this.

Thanks.

1 Answer

1

This is happening because Android and iOS do not recognize MovieTexture format or support it for that matter.If you want to play videos on your mobile devices use Handheld.PlayFullScreenMovie.
http://docs.unity3d.com/Documentation/Manual/VideoFiles.html