Search Issue Tracker

Fixed

Fixed in 2023.3.0a17

Votes

0

Found in

2021.3.32f1

2022.3.13f1

2023.1.20f1

2023.2.0f1

2023.3.0a14

Issue ID

UUM-55778

Regression

No

“Animator.parameterCount” is set to 0 after making any changes in the Animator Parameters tab

--

-

How to reproduce:
1. Open the attached “parameter.zip” project
2. Enter “SampleScene” Scene (Assets > Scenes)
3. Open “New Animator Controller” and enable any of the checkboxes of the bool in the Parameters tab
4. In the Hierarchy window, select “Cube” GameObject
5. In the Inspector window, observe the “Zzz” value

Expected result: Value is 2
Actual result: Value is 0

Reproducible with: 2021.3.32f1, 2022.2.13f1, 2023.1.20f1, 2023.2.0f1, 2023.3.0a14

Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested

Note: if reloading the script, then the value is correct

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.