Recording Animator component using animation recording.

I’m a VR developer and I’d like to record mecanim humanoid animations using my VR devices to “puppet” a humanoid avatar. It looks like humanoid mecanim animations are made of keyframes from properties on an Animator component. I see a lot of guides on how to record Transform components, so I decided to see if I could record my mecanim Animator component. Unfortunately, it looks like this component is blacklisted in line 48 of AnimationInputSettingsPropertyDrawer.cs

var distinctCompos = compos.Distinct()
    .Where(x => !typeof(MonoBehaviour).IsAssignableFrom(x) && x != typeof(Animator)) // black list
    .ToList();
var compoNames = distinctCompos.Select(x => x.AssemblyQualifiedName).ToList();

Is there a reason it’s blacklisted? If so, is there a workaround I can use to get mecanim animations out of a generic clip?

UPDATE:

To anyone stumbling upon this thread

You can use a 3rd party asset like UMotion Pro to convert animations from generic to humanoid. With an HTC Vive, FinalIK, UMotion Pro, and the Unity Recorder, you basically have your own motion capturing studio for less than $1000.

I have the current workflow setup to achieve this:

  1. I have an Animation Recording Scene that has my humanoid rig set up with FinalIK’s VRIK component connected to my SteamVR Rig.
  2. In the Animation Recording Scene, you can set up a recording button via the input module and call Start/Stop recording methods in the editor window of the Unity Recorder, e.g. via the vive wand trigger.
  3. Act out the animation you want to record while the Unity Recorder is recording it.
  4. I have another scene that is for Animation Converting. Here I have a copy of the avatar rig in the scene (make sure it’s humanoid).
  5. I have a Humanoid UMotion project set up from the UMotion Clip Editor. In the Pose Editor window, I have the avatar in the scene selected as the Humanoid Rig to use.
  6. In the UMotion Clip Editor, I import the animation clip I recorded earlier.
  7. I export the clip now as a humanoid animation.
  8. The exported animation should show the unity dude in the black motion tracking suit performing the animation you recorded earlier!