Search Unity

Simple NetworkAnimator problem, using default TPC and Ethan

Discussion in 'Multiplayer' started by hashashin, Dec 7, 2015.

  1. hashashin

    hashashin

    Joined:
    Mar 31, 2014
    Posts:
    22
    Hi

    I am using the default Third Person Controller from the Default Assets, with Ethan (also from the Default Assets). I added a NetworkManager, a NetworkIdentity in the Ethan prefab, and a script to activate/deactivate the 3rd Person Character Controller scripts. Then I added an NetworkAnimator.

    Everything seems to work, with two main problems:
    • Sometimes when the game starts, Remote Ethan is Jumping, no idea why;
    • If I walk, animator works locally, but remote Ethan slides. If I jump when walking, then remote Ethan jumps correctly, and starts walk animation. But when I stop, remote Ethan stops but continues the animation.
    I think I can fix the first problem with some variables hacking, but for the second I have no clue. It seems that whatever is controlling if the animation is active or not is not synced always, just when changing states in the Animation.

    Ideas?
    Thanks in Advance,
    Alberto