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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

animator controller issues

Discussion in 'Editor & General Support' started by Louis April, May 5, 2015.

  1. Louis April

    Louis April

    Joined:
    Feb 14, 2015
    Posts:
    18
    I made a assetbundle of animator controller for iOS,using several versions of Unity. When it loaded, the result is differenet:
    Unity 4.6.x - Error "Can not produce class with ID 91"
    Unity 5.0.0f4 - OK
    Unity 5.0.0p3 and Unity 5.0.1p3 - Error "Can not produce class with ID 91"

    I don't know how to solve it.
     
  2. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,986
    What version did you create the bundle in?
     
  3. Louis April

    Louis April

    Joined:
    Feb 14, 2015
    Posts:
    18
    I rebuild it by current version everytime
     
  4. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,986
    Current version for which part?

    Typically, your asset bundle should match the client version. So if your client was built in 5x, the asset bundle should be generated by the same version. There are exceptions, but probably since there have been changes to the animator, you'll need to match versions
     
  5. Louis April

    Louis April

    Joined:
    Feb 14, 2015
    Posts:
    18
    I rebuild all assetbundle after upgrading my unity version.
    other parts (mesh, texture, material) works well on iOS except animator controller.
    everytime, it works well on Editor.
     
  6. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,986
    And the iOS build is created in the version that you are making the bundles in?
     
  7. Louis April

    Louis April

    Joined:
    Feb 14, 2015
    Posts:
    18
    Yes
     
  8. Louis April

    Louis April

    Joined:
    Feb 14, 2015
    Posts:
    18
  9. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,986
    cool. Good to know that about stripping.