Search Issue Tracker

By Design

Votes

0

Found in

2021.3.35f1

2022.3.20f1

2023.2.12f1

2023.3.0b8

Issue ID

UUM-64565

Regression

No

"Controller 'thing': Transition '' in state 'test' uses parameter '' which does not exist in controller." is thrown when creating an Animation Parameter after creating a Transition

--

-

How to reproduce:
1. Open the attached project "BugReproduce.zip"
2. Open Window>Animation>Animator
3. Select the "thing" in the Hierarchy window
4. Right mouse click on "test" in the Animator window
5. Click "Make Transition"
6. Click on "anotherone"
7. Select the created Transition
8. Click + in the Inspector window

Expected results: Mo errors are thrown
Actual results: "Controller 'thing': Transition '' in state 'test' uses parameter '' which does not exist in controller." is thrown

Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.12f1, 2023.3.0b8

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

  1. Resolution Note:

    This error is expected (as designed) in the context of a transition with a condition using a parameter that does not exist since the condition is not defined and cannot be evaluated.

    As the error says…Controller 'thing': Transition '' in state 'test' uses parameter '' which does not exist in controller.”
    You need to create a Parameter before adding a Condition in order to avoid this error.
    You can create the Parameter after having created to Condition, but you will also need to assign it using the pull-down list of the Condition, in this case.

    In both of the above scenarios, the error will no longer exist once the invalide condition is resolved.
    The error is trying to help you understand what does not work in the condition logic.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.