Null transition in state 'AnyState' error

Hi all,

I am getting this error every time I startup Unity 5 (5.1.1p2) which I cannot seem to get rid of. Because this particular animator controller is somewhat complicated, it would be annoying to have to re-create it again.

In any layer, none of my ‘AnyState’ states are connected to anything. All but one layer display this message inside the inspector:

The layer that is causing the error is displaying this in the inspector:

Any anyone help with this? I’ve tried adding transitions and then removing them but nothing seems to fix this issue.

Hi,

Have you found a fix for this issue?

I am having the same bug in only one of my AnimationController (imported from Unity4).
Moreover, since I am using that asset, there is another issue (the builds crash on startup) and I am wondering if this is related (the crash report says something about UnityEngine.GUIUtility:Internal_GetDefaultSkin).

Thanks.

I just get rid of it by copying all the AnimationStates and Transitions into a new layer (except Start, End and AnyState).
Then I deleted the previous layer and renamed the new one.

p.s. The other issue do not seem to be related

1 Like