Network Animator set trigger not working

Hello everyone,

i have been to almost every forum and question by now and still cannot find a fix for it. I am working on a multiplayer game and the netAnim.setTrigger("Attack1Trigger"); just won’t play the animation. I have a Debug.log("Please work"); just above the set trigger so i know that it is 110% reaching that line of code.
I have the Network Animator on my enemy and my network components looks like this 91197-capture.png

The triggers do work if i use GetComponent<Animator>().SetTrigger("Attack1Trigger"); but then it is not synced over the network with other clients. I also tried the SetParameterAutoSend() to make it work but no success there as well.

public override void OnStartServer()
{
    for (int i = 0; i < 10; i++)
    {
        netAnim.SetParameterAutoSend(i, true);
    }
}

public override void PreStartClient()
{
    for (int i = 0; i < 10; i++)
    {
        netAnim.SetParameterAutoSend(i, true);
    }
}

Could anyone please suggest me a solution to the problem? The netAnim.SetTrigger("Attack1Trigger"); would just not set the trigger and play the animation.

Thanks in advance.

Finally after a week of watching all the tutorials and reading all the forums i fixed this, so if anyone faces this problem simply uncheck both the boxes in Network Identity and the NetworkAnimator.SetTrigger(trigger) starts working.

Do you find that even you use “NetworkAnimator.SetTrigger(trigger)”, sometime it still not working. There is still a chance some animation of charactor is not synced. My feeling is I have to use the CMD / PRC method to synced manually.