NetworkAnimator component not functioning since 5.2 upgrade!

Hey everyone. So since I upgraded from 5.1.1 to 5.2.0 I All my network animator components appear to have stopped working!

Here’s a forums post I made right before 5.2 exited beta (http://forum.unity3d.com/threads/cant-seem-to-get-networkanimator-running-since-5-2-upgrade.353250/#post-2289118). Has anyone else run into this issue? Below is the output that I get from the client when I have a network animator attached to a gameobject.

NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Networking.NetworkSystem.AnimationParametersMessage.Serialize (UnityEngine.Networking.NetworkWriter writer) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/Messages.cs:413)
UnityEngine.Networking.LocalClient.InvokeHandlerOnClient (Int16 msgType, UnityEngine.Networking.MessageBase msg, Int32 channelId) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/LocalClient.cs:160)
UnityEngine.Networking.ULocalConnectionToClient.Send (Int16 msgType, UnityEngine.Networking.MessageBase msg) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/LocalConnections.cs:24)
UnityEngine.Networking.NetworkServer.SendToReady (UnityEngine.GameObject contextObj, Int16 msgType, UnityEngine.Networking.MessageBase msg) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/NetworkServer.cs:356)
UnityEngine.Networking.NetworkAnimator.OnAnimationParametersServerMessage (UnityEngine.Networking.NetworkMessage netMsg) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/NetworkAnimator.cs:400)
UnityEngine.Networking.NetworkConnection.InvokeHandler (Int16 msgType, UnityEngine.Networking.NetworkReader reader, Int32 channelId) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/NetworkConnection.cs:183)
UnityEngine.Networking.NetworkServer.InvokeHandlerOnServer (UnityEngine.Networking.ULocalConnectionToServer conn, Int16 msgType, UnityEngine.Networking.MessageBase msg, Int32 channelId) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/NetworkServer.cs:1643)
UnityEngine.Networking.ULocalConnectionToServer.Send (Int16 msgType, UnityEngine.Networking.MessageBase msg) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/LocalConnections.cs:83)
UnityEngine.Networking.NetworkAnimator.CheckSendRate () (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/NetworkAnimator.cs:177)
UnityEngine.Networking.NetworkAnimator.FixedUpdate () (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Runtime/NetworkAnimator.cs:96)

I had this working fine in 5.2 do I now need to init this component in some way? All animations play locally without any issues. Any help is most appreciated.

In Play mode try to look at Network Animator component. There are should be checkboxes for parameters. If none of them are checked, there is that error. You can try to check 'em during Play Mode to test it. If there is no way to initialize Animator before playing (means, using a prefab) probably you should try to check all of the params with script. Check NetworkAnimator on Scripting Reference for more details.

@darthbator

I’m getting this issue too! Is there a bug fix in Unity 5.3 now?

Still not in 5.4 :frowning: