Search Issue Tracker
By Design
Votes
0
Found in
2021.3.32f1
2022.3.14f1
2023.2.0f1
2023.3.0a15
Issue ID
UUM-58246
Regression
No
Animator.GetCurrentAnimatorClipInfo() returns an empty list when the Animator is playing the animation
Reproduction steps:
1. Open the attached “AnimatorTest.zip” project
2. Open the “Assets/Scenes/SampleScene.unity” scene
3. Enter the Play Mode
4. Observe the Console window
Expected results: GetCurrentAnimatorClipInfo() returns “current clip is [NameOfCurrentClip]“
Actual results: GetCurrentAnimatorClipInfo() returns "current clip is none!"
Reproducible with: 2021.3.32f1, 2022.3.14f1, 2023.2.0f1, 2023.3.0a15
Reproducible on: Windows 11
Not reproducible on: No other environment tested
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note:
During an interrupted transition, the clip for the current state is replaced with the last pose evaluated by the Animator, and blended with the clip for the next state.
So there is effectively no clip playing for the current state, and only the clip playing for the next state, even though in this case the current state and the next state both share the same clip.