Search Issue Tracker
Fixed in 5.2.1
Votes
0
Found in
5.2.0f3
Issue ID
726207
Regression
Yes
Transitioning to an empty state causes layers to not blend properly
How to reproduce:
1. Open attached project (AnimatorBugProject.zip)
2. Open scene demo.unity
3. Play the scene
4. Hit the 'Attack' button
- Note how the character performs an attack animation and then gets stuck on the last frame of the animation while transitioning to an empty state
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
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
zswad123
Apr 27, 2020 02:33
2019.3 still have this bug
MisterFoogy
Apr 16, 2020 12:57
I have the same issue in 2019.3.7 (if the first animation from the None state is interrupted, things seem to break on the way back and the animation is not properly blended back with the main layer)
nostro66
Oct 01, 2019 11:30
Still an issue in 2019.1.0f1 (after transition from AnyState is interrupted by next transition)
xCrochaNx
Oct 22, 2015 22:09
Hello everybody !
The last update 5.2.2 f1 fixes this issue !
Thank you.
xCrochaNx
Oct 22, 2015 03:53
The problem with this is the new approach in Unity 5.x to the animation states and their default values processing, at least that is what I have gathered from this post:
http://blogs.unity3d.com/2014/05/30/mecanim-and-default-values/
However, the problem originates when you want the animator to transition into an empty state. If the state you are transitioning from or to is an empty state, what happens is your character gets frozen in the last frame of the animation it is transitioning FROM for an entire transition period, and then jumps into the first frame of the animation it is transitioning TO once the transition is complete. Which IS a problem in many cases.
Right now I'm looking for a work around this issue, without having to rebuild an entire animator controller.
Please update this post if you have found a solution.
Thank you.
wood333
Oct 15, 2015 19:21
The problem persisted for us, until we checked the "Write Defaults" box in the Inspector in the Empty state. Hope that helps.
Gianvy
Oct 10, 2015 15:56
I still have this problem in 5.2.1f1
marf
Oct 10, 2015 15:55
Still have this problem in 5.2.1f1
timvanzijp
Oct 09, 2015 11:09
Using 5.2.1 f1 and it still happens.
xCrochaNx
Oct 08, 2015 20:06
The issue us NOT fixed, it is still present in Unity 5.2.1 f1
Please review, thank you.