Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question What's the easiest way to fix animator paths after changing gameobject hierarchy/names?

Discussion in 'Animation' started by ShrikeDev, Nov 24, 2022 at 3:35 PM.

  1. ShrikeDev


    May 31, 2018
    Currently I have to press F2 on every property in the animator and manually copy/paste the new path on each property, this is a bit of a PITA if a lot of paths changed (would be nice if it just handled it automatically). Is there not a faster way than this? Only way I can think of is doing it with an AHK script. If there was a way to just bulk replace the changed part of the path it would be a lot easier.
    Last edited: Nov 24, 2022 at 3:42 PM
    DragonCoder likes this.
  2. Kybernetik


    Jan 3, 2013
    I'm pretty sure there is no inbuilt way to handle it.

    I made an editor window to let you Remap Animation Bindings which I can't really tell you about because advertising isn't allowed here (except in signatures).

    If you try to implement something like that yourself, the functions you need to get and set bindings are located in the AnimationUtility class.