Rebind animated variable to correct target

So, I’m working on a 2d animated character. I’m using Puppet2D plugin (awesome, BTW) and when I create an animation for my character if later I rename (or move in the hierarchy) the gameObject that I previously animated, the animation reference is lost:


1518904--86740--$Screenshot 2014-02-13 11.16.17.png

This is OK and obviously makes sense. What it doesn’t though is not allowing you to retarget it somehow! Does anybody know if it’s possible to do it? I found a script online but it’s cumbersome and messes up the rest of the animation.

Bump!!

Yes I also have this problem, any suggestions welcome. Thanks.

This is the best I’ve found: Unity3D Animation Inspector - Pastebin.com

However, it will mess up your animations’ rotations by adding keyframes on every frame.

Old thread, I know, but I just ran into this issue and for what it’s worth, you can just open up the .anim file in a text editor and just use find & replace. Not sure if this will work while Unity is running; I closed it to be safe.

1 Like