Question by
Bicubic · Apr 20, 2016 at 02:23 PM ·
animationanimatorassetbundle
Animations are not playing when prefebs are loaded using asset bundle in Unity 5.3
I have made an asset bundle containing some prefebs which have animator controller. Animations runs nicely when they were normal prefebs in scene but when I create an assetbundle of them and try to instantiate, they instanciated successfully but animations are not playing.
Thanks in advance for your help!
Comment
Answer by AuraCS · Apr 22, 2016 at 08:06 PM
For me the animations are playing. You may want to look at your scripts and animator setup. However there are bugs related to animator that should be fixed in Unity 5.4. See this: https://issuetracker.unity3d.com/issues/animation-clip-length-value-is-incorrect-if-animator-is-loaded-from-asset-bundle Hope it is helping.