Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Discussion Animator.GetInteger returns Parameter 'PARAMETER_NAME' does not exist, using playable graph.

Discussion in 'Animation' started by CBHM, Nov 20, 2023.

  1. CBHM


    Feb 12, 2019
    • I have created a playable graph with 2 AnimatorControllerPlayable wrapping 2 different runtimeAnimationController.


    • The 1st animation controller has the parameter "param01", and the 2nd animation controller has the parameter "param02".

      Controller C1 with Param01 parameter of type int:

      Controller C2 with Param02 parameter of type int:
    Calling an animator.GetInteger("param01") returns the value of the parameter correctly but calling animator.GetInteger("param02") throws Parameter 'param02' does not exist.
    If I change the order of the runtimeAnimationController then the animator.GetInteger("param02") works but animator.GetInteger("param01") throws Parameter does not exist.

    Is it something I am doing wrong?


    Thank you!