Search Unity

Question Animator Controller is deemed invalid when converted to a prefab

Discussion in 'Animation' started by aswii200, Aug 7, 2022.

  1. aswii200

    aswii200

    Joined:
    Jul 24, 2022
    Posts:
    7
    Why does this happen ?
    Screenshot (74).png

    Warning pops up as:
    Code (CSharp):
    1. The Animator Controller (life_gone_0) you have used is not valid. Animations will not play
    I wanted to create a life counter that will trigger an animation for each life getting destroyed.
    Is there any work around for this ?
     
  2. QuitsDoubloon

    QuitsDoubloon

    Joined:
    Dec 23, 2018
    Posts:
    6
    I'm gonna leave a reply here for anyone in the future, your imported animations have the wrong rig type for your animators avatar.
    To fix this go to your animation, rig and set animation type to Humanoid (or whatever else your avatar is) then create from this model.
    Hope this helps anyone.
     
  3. omar_abdelfatah

    omar_abdelfatah

    Joined:
    Aug 28, 2022
    Posts:
    2
    have you found the answer yet?
     
  4. omar_abdelfatah

    omar_abdelfatah

    Joined:
    Aug 28, 2022
    Posts:
    2
    sorry, i guess didn't see it then but thanks for your help anyway
     
  5. lanura01

    lanura01

    Joined:
    Feb 27, 2022
    Posts:
    1
    Hey I’m having the same issue with trying to make an explosion animation. Wdym by rig type?
     
  6. thedobrydog

    thedobrydog

    Joined:
    Jan 19, 2023
    Posts:
    4
    I had such a problem. For some reason, the animation controller was not specified on the object.
     

    Attached Files:

    • 01.JPG
      01.JPG
      File size:
      45.8 KB
      Views:
      882
  7. robinhood14501

    robinhood14501

    Joined:
    Jul 22, 2021
    Posts:
    17
    I fixed it by removing and reassigning the Animator Controller