Unity Animation Hierarchy Editor

When i was working with unity 2D character animations, I have created hierarchy style rigs and done many animations. But later i had a situation to change the order of hierarchy and also renaming some nodes. After doing these changes i noticed that all animations were broken.

After some research i understood that animation curves stores data based on naming. So the solution is i have to replace paths for all animation curves in all animations.  INSANE

Unfortunately there is no option to set new path for animation curves. So i have started replacing paths manually for few animations using word pad search and replace. Got tired and back to unity and looked into scripts and found a way to replace using code. And made this tool.

 

If you are in same situation then download this compiled plugin and save your soul 🙂

Works with unity 5 and above. Please comment below for any issues or suggestions.

Plase note:

  1. All rotational curves should be save in Quaternion format. Other wise it will create keys on every frame.
  2. Take backup of your work before editing with this tool.
  3. This is not a professionally tested tool, So use it with your own risk.

 

AnimationHierarchyEditor.rar