Network Animations not working

I’ve been trying to sync my animations on host and client but the host can’t see client’s animations and the client can’t see host’s animations.

The movement is client authoritative since I’ve added client network transform and owner network animator scripts.

Here’s the relevant code:

void Update()
{
    if(IsOwner)
    {
        float xMov = Input.GetAxis("Horizontal");
        float zMov = Input.GetAxis("Vertical");

        Vector3 xMovement = transform.right * xMov;
        Vector3 zMovement = transform.forward * zMov;

        Vector3 _velocity = (xMovement+zMovement) * speed;

        if(xMov != 0 || zMov != 0)
        {
            animator.SetFloat("ForwardVelocity", zMov);
            animator.SetFloat("SideVelocity", xMov);
        }
    }
}

ForwardVelocity and SideVelocity are floats I’m using for animations.

The movement is synced between the host and the client properly, its just the animations that won’t work.