Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Mecanim and asset bundles

Discussion in 'Editor & General Support' started by sirival, Nov 19, 2012.

  1. sirival

    sirival

    Joined:
    Sep 14, 2011
    Posts:
    146
    Does Mecanim work with asset bundles? We are facing some weird bugs with our character customization system and Mecanim.

    Is there something that we should be doing differently with Mecanim and Asset Bundles?
     
  2. sirival

    sirival

    Joined:
    Sep 14, 2011
    Posts:
    146
    *** bump ***

    This is really important for us, so if any Unity developers were to help us it would be great
     
  3. nuverian

    nuverian

    Joined:
    Oct 3, 2011
    Posts:
    2,087
    bump

    We had 3.5.5, Upgraded project to 4.0 and animation to mechanim temporary. Should we continue working the animations with mechanim, or go back to our old way.

    I think this is qute a simple question here. "To use or NOT to use mechanim with Asset Bundles?"

    Thanks.
     
  4. sirival

    sirival

    Joined:
    Sep 14, 2011
    Posts:
    146
    Bump...
     
  5. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    We found that Mecanim does not work with asset bundle.

    We are investigating the problem and we are looking to have this fixed in next release!
     
  6. sirival

    sirival

    Joined:
    Sep 14, 2011
    Posts:
    146
    Awesome! Thank you very much
     
  7. EmeralLotus

    EmeralLotus

    Joined:
    Aug 10, 2012
    Posts:
    1,459
    We have a project with Unity PRO that uses AssetBundles extensively with animations. We LOVE Mecanim but all of our animations from the AssetBundle is completely broken. AssetBundle is a PRO feature and Mecanim should work with ALL PRO features. Please Please add this to the Next Release.

    Cheers.
     
  8. huang

    huang

    Joined:
    Aug 16, 2012
    Posts:
    34

    when will release the next version? thanks
     
  9. Surreal

    Surreal

    Joined:
    Dec 10, 2011
    Posts:
    29
    We're about to embark on a major update to Mechanim but bundles are critical to us as well. What is the status? And specifically, what does not work? Are we able to store controllers in bundles, together with relevant animations?
     
  10. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    Hi.

    The bug was causing AnimatorControllers not to be loaded when they where coming from an AssetBundle. Its now fixed and should be in 4.1.

    You will be able to store AnimatorControllers ( and all their relevant animations) in bundles!

    I cannot give precise date on when we will release it, as soon as its ready !

    pp
     
  11. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Does this also affect character customization? I've been trying to apply the character customization example with mecanim, but mecanim throws errors stating that some rigged "meshes" are not found (because the skeleton and the meshes have been put into separate asset bundles).

    Will there be a character customization example for mecanim?
     
  12. sirival

    sirival

    Joined:
    Sep 14, 2011
    Posts:
    146
    This affects character customization, yes. That is our problem too as our characters are created using a system derived from the Character Customization example by Unity. You're gonna have to wait for 4.1 :)
     
  13. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Thanks for the info... waiting then :(
     
  14. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    *shameless bump*

    Any news on this? Is this fixed in 4.0.1 or do we really need to wait for 4.1?
     
  15. tao-tao

    tao-tao

    Joined:
    Nov 17, 2012
    Posts:
    14
    i think first problem is “ the Animator Controller is not exposed in Animator Component ”
     
  16. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    It will be fixed in 4.1

    pp
     
  17. tedlin01

    tedlin01

    Joined:
    Mar 7, 2013
    Posts:
    23
    when will 4.1 come out? Can you create a temporary hotfix for this?
     
  18. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,202
    Has this issue been corrected now?
     
  19. AFrisby

    AFrisby

    Joined:
    Apr 14, 2010
    Posts:
    223
    I can still report this issue happening as of 4.6.0
     
  20. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    @AFrisby , please file us a bug then. Because we have tons of users that use Mecnaim with AssetBundles and it works.

    pp
     
  21. AFrisby

    AFrisby

    Joined:
    Apr 14, 2010
    Posts:
    223
    Sure - weirdly enough, I find it works in the webplayer builds fine, but the editor it won't load the content from the bundle. I'll setup a bug report for you.