Video - Legacy MovieTexture Deprecation - Unity Forum

Search Unity

Video Legacy MovieTexture Deprecation

Discussion in 'Audio & Video' started by FrancisBert, Sep 4, 2018.

  1. FrancisBert

    FrancisBert

    Unity Technologies

    Joined:
    Nov 15, 2016
    Posts:
    2
    Hello everyone,

    In Unity 2018.2, we have begun the process of removing the legacy MovieTexture feature.

    All MovieTexture functionalities have been marked as [Obsolete]. We have also begun alerting Asset Store publishers of the deprecation.

    If your project is still using MovieTexture, you should upgrade it to use the VideoPlayer, introduced in Unity 5.6. Since the VideoPlayer is fundamentally different from the MovieTexture approach, it may not be possible to provide an automatic upgrader tool.

    If you're using MovieTexture via packages that you obtained from the Asset Store, we recommend monitoring the store for new versions. We will be encouraging Asset Store authors using MovieTexture to update their package as soon as they can.

    Although we don't have yet a date for when MovieTexture will be removed, we are not planning on dragging this very long.

    The VideoPlayer component has been introduced in Unity 5.6 and, since then, a lot of effort has gone into addressing the feedback and issues raised by the community. We are confident the VideoPlayer tackles all of MovieTexture's features, but there might be some things that may have slipped by us.

    If you are currently using MovieTexture and see a reason why upgrading is impossible because of technical limitations, please reply to this thread and explain what's blocking you.
     
  2. aoverholt

    aoverholt

    Joined:
    Feb 25, 2020
    Posts:
    1
    Hello! I'm working in Avid Pro Tools 130's Unity3D exercise material. I'm getting this error: Assets/Standard assets/AudioManagers/CinematicManager_PRO.cs(6,9): error CS0619: 'MovieTexture' is obsolete: 'MovieTexture is removed. Use VideoPlayer instead.'

    This is my 3rd or 4th time even opening Unity so I have no idea where to go from here. I attempted to run the API Updater hoping that that would automatically switch things over, but the option to update is disabled. If you have any solutions, please, let me know.
     

    Attached Files:

    HotRod98568 and Zeesy like this.