Search Issue Tracker
Fixed in 2020.1.X
Votes
3
Found in
2018.4.0f1
2019.1.0a1
2019.1.7f1
2019.2.0a1
2019.3.0a1
Issue ID
1168332
Regression
No
OnStateUpdate will not be called when a new AnimatorControllerPlayable is attached by the first time
How to reproduce:
1. Open attached project "StateEnterNotCalled.zip" and scene "SampleScene"
2. Enter Play mode
3. In the Hierarchy window, select "NL01_Body_Skin"
4. In Inspector window, "Animator Playable Test" -> change "Controller Index" to 1
5. In Inspector window, "Animator Playable Test" -> change "Controller Index" to 2 (OnStateUpdate should be called, but it doesn't get called.)
6. In Inspector window, "Animator Playable Test" -> change "Controller Index" to 1
Expected result: on step 4 and 5 the OnStateUpdate is called
Actual result: only on step 6 the OnStateUpdate is called
Reproducible with: 2018.3.14f, 2018.4.4f1, 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
Could not test with: 2017.4 due to package manager errors
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note (fix version 2020.1):
Fixed in 2020.2.0a1