There’s an Issue in Unity’s Issue Tracker about the problem. Please vote for it so we can get it fixed ASAP! If you need some work-arounds, there are some near the end of this thread (very hacky, should only be considered temporary).
A button with transition set to animation.
Normal state sets image’s alpha to 1.
Disable state sets image’s alpha to 0.5.
Call SetActive(false) during the animation blending, assuming the image alpha at the moment is 0.7.
Call SetActive(true) then try toggle between the state. The state machine’s still functioning, I can still blend between Normal and Disable state but… the end alpha of the image is 0.7 * 1 in the Normal state and 0.7 * 0.5 in the Disable state.
It looks like there’s a invisible ini value cached and the ini value is now stucked.
I still cannot find a way to reset the invisible ini value.