RuntimeAnimatorController cannot be loaded from asset bundle in iOS

I tried to load an animator controller from asset bundle, this works in Unity editor. But I only gets null on “rac” when running on iPhone.

RuntimeAnimatorController rac = animationBundle.LoadAsset<RuntimeAnimatorController> ("cha_ac_0");//original ac name

if (rac == null)
	Debug.Log ("RACNULL");

	AnimatorOverrideController myOverrideController = new AnimatorOverrideController (rac);
	animator.runtimeAnimatorController = myOverrideController;

Facing same issue.

Nobody knows the answer?

Still same here, AnimatorOverrideController can only be loaded from Resources.Load.

You could try disabling “Strip Engine Code” in Player Settings / Other Settings ?