Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
2020.2.4f1
2020.3
2021.1
2021.2
Issue ID
1321298
Regression
No
OnStateEnter/OnStateExit is called repeatedly when an AnimatorControllerPlayable is paused on the first or last frame of a state
How to reproduce:
1. Open the attached "1321298.zip" project
2. Enter "SampleScene" Scene
3. Enter Play Mode
4. In the Hierarchy select the "Capsule" GameObject
5. In its Inspector click on "Play Standalone Clip"
6. Check the Console
Expected results: There are no messages in the Console
Actual results: Hundreds of "OnStateEnter()" appear in the Console
Reproducible with: 2019.4.23f1, 2020.3.1f1, 2021.1.0f1, 2021.2.0a10
Could not test with: 2018.4.33f (Downgraded script have errors in it)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a14
Bug is fixed and added unit test to cover this funcitonnality.
Could not validate with user project since the behaviour in user project is not well define.
Resolution Note (fix version 2021.1):
Fixed in 2021.1.5f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.7f1