Change animation type runtime

I’m uploading an animation from Asset Bundle, but the Rig properties, in settings, is reset to Generic (not Humanoid).
I uploaded it as Humanoid to Asset Bundle but I find it as Generic. Why? How to change it runtime?

Did you get any solution?