IsFinite (m_CachedRange.first)..... Unity Error

This message:
“IsFinite (m_CachedRange.first) && IsFinite (m_CachedRange.second)”
is appearing on my console whenever I play the game in editor.

The game runs fine, but I don’t know what this problem is, I read about this and someone says that it could be an animation causing the problem but my animations are fine.

I was aware of this error message when I updated to Unity 5.4.1

I searched on my scripts, on Visual studio but no error there.

Thanks in Advance!

Internal Unity Error.

Restart Unity, if that doesn’t fix it.

Reimport All.

I too had this problem. In my case it was occurring due to empty keyframes for a button animation. Make sure that all the animation state inside an Animator component has atleast one keyframe.