I have an assetbundle that loads a prefab. The prefab has a few timelines, an animator on the gameobject that animates, etc.
When I load the asset and instantiate it, the object doesn’t animate (although sometimes it will but without a reason). I have placed code to check if there is an animator, if not then add it, check if the gameobject to animate is assigned to the animator, if not then add it, and check if the avatar is connected, and add that too if missing. None of it helps. The object is still instantiating in a pose that is frozen with no animations.
In unity, it works fine. The prefab instantiates and plays it’s idle animation. This doesn’t happen when I run it on my Android in Augmented Reality (but like I said above, sometimes it doesn’t on random builds for reasons I can’t pinpoint).
Does anyone have any ideas?