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
- CSS is not applied when using USS type selector "GridBackground"
- Player .exe remains open as a background task after closing it when Active Input Handling is set to "Input System Package (New)"
- Exception block is being rewritten to throw an incorrect number of exceptions when running a project built using IL2CPP Scripting Backend
- [Android] [Vulkan] Warning "AndroidPlayer "<device>" VULKAN: GENERAL WARNING: The following warning was triggered: VKDBGUTILWARN003." spammed every frame when the application is actively running on a device
- Skinning Editor missing tooltips
Resolution Note (fix version 2020.1):
Fixed in 2020.2.0a1