NetworkAnimator Troubles

I am trying to setup animations to sync over the network. I can’t get it working at all. I can get everything else working just fine, but no animations play across the network. I think it has to do with how my hierarchy is setup but I don’t understand how the NetworkAnimator works, so I don’t know why it isn’t working.

My hierarchy looks like this:
Player(all the network components and associated scripts.)

  • Animator
  • SkinnedMesh

I have watched a few videos and this is what there hierarchy looks like:
Player(Animator and all the network components and associated script.)

  • SkinnedMesh

I have tried setting up my player prefab the same way and it still doesn’t work.

It seems a pretty simple process. I have all the components required for the player to function in multiplayer. I just can’t get the animations to work other than locally. I can post screen shots or code if needed, and/or would gladly take a link to a good tutorial, or a good explanation as to how it works.

So does anyone know exactly how to setup the NetworkAnimator to work.

I have It on the same GameObject that has the Animator and that has the NetworkIdentity. It shows a list of all the animator parameters, I check the ones that should be synced and still get nothing.

Does it need to be using Root Motion with no NetworkTransform to work?
Should it just work when added to the GameObject with a NetworkIdentity and an Animator.

Any info at all will be greatly appreciated.

Okay, I figured out my problem. I had an Update in one of my player scripts that wasn’t checking if it was the local player. I was only using it to update the animation speed parameter, so it kept setting the local clone of the other player to have a speed of zero. I noticed that idle and a few other animations did work, so the NetworkAnimator was working, only the speed was set wrong on the remote copy.