Search Unity

Using Override Controllers with a layer + avatar mask is broken.

Discussion in 'Animation' started by theazz, Jun 9, 2017.

  1. theazz

    theazz

    Joined:
    Oct 20, 2013
    Posts:
    60
    Hey all

    I've got an animation controller for a character with a Layer, which has an avatar mask attached. All good and fine.

    I've got some other characters that wanna use the same logic as this so I give them an Animation Override Controller.

    Everything works fine, EXCEPT, the animation on the layer doesn't play from the override controller. Assumably because the bone names / hierarchy are different in the target than the original Avatar mask.

    Is there a way to set some kinda name override in script for this avatar mask at run time, Override controllers need a mask section in the list of overrides.

    thanks
     
    Last edited: Jun 9, 2017
  2. Salim

    Salim

    Joined:
    Apr 25, 2011
    Posts:
    148