Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

AnimatorUtility.DeoptimizeTransformHierarchy available in webplayer?

Discussion in 'Animation' started by akelsey, Nov 8, 2014.

  1. akelsey

    akelsey

    Joined:
    Nov 20, 2012
    Posts:
    12
    I am getting errors saying this method is not found when runnin this in the webplayer, but not in editor.

    Is AnimatorUtility.DeoptimizeTransformHierarchy available in the webplayer?
     
  2. akelsey

    akelsey

    Joined:
    Nov 20, 2012
    Posts:
    12
    I tested a standalone build as well, this method is also not available there.
     
  3. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    Effectivelly, it's not available at runtime before 4.5
     
  4. akelsey

    akelsey

    Joined:
    Nov 20, 2012
    Posts:
    12
    Yeah we are currently using the 4.5.3f editor

    How does the webplayer and standalone build choose which version to use?
     
  5. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    that really strange, it was implemented in 4.5.1.

    The standalone doesn't choose which version to use, the standalone is build with the same source code than the editor.
    For the webplayer it a little bit different but still it should be available.

    Please log a bug with you project, we will take a look.
    Best regards