How to load a animated prefab from AssetBundle properly

Hi there,

Let me explain you my problem :
I have an animated prefab using an existing fbx file containing the model and the animation (from Blender) and an animator controller in charge of handling the animations.
The problem is that when I export this prefab in an AssetBundle, I am not able to load it.
It is for an augmented reality app for Android using Vuforia. This is the only animated model (it is for test for now) and the other models which are not animated - so not prefab but just fbx files - load without any problem.
I am using the WWW method for loading the assets from the AssetBundle.
I tried by changing the name of the fbx file so it does not have the same name as the prefab to avoid name conflicts but still I got this problem …
Please help me

Thank you guys

Hi sorry I did not receive any notification. I will look at it but it seems that this person only have animations in the asset bundle which are linked to an fbx character which is not included in the asset bundle. In my case I got the FBX file containing the mesh and the animation in the asset bundle but also the animator controller. I don't know if there is a difference but in my asset bundle there are also fbx files containing only meshs without any animation and those load without any problem ... Is there any different on the method how to load on or the other ?

Hi nafasso. I am facing same issues with unity 4.6 in some fbx loading from asset bundle not able to get the animator on it. how did you solved this issue please help me out.

1 Answer

1

This may help: http://forum.unity3d.com/threads/solved-load-animations-from-asset-bundles.34827/