Search Unity

Bug [Netcode] Detected the Host is sending itself animation updates! Please report this issue

Discussion in 'Netcode for GameObjects' started by elzbeb, Jan 9, 2023.

  1. elzbeb

    elzbeb

    Joined:
    Jul 30, 2020
    Posts:
    54
    Description
    The bug appears when playing an animation like jumping and falling, not when walking

    Reproduce Steps
    Added the OwnerNetworkAnimator to the player armature


    Code (CSharp):
    1. using System.Collections;
    2. using System.Collections.Generic;
    3. using Unity.Netcode.Components;
    4. using UnityEngine;
    5.  
    6. public class OwnerNetworkAnimator : NetworkAnimator
    7. {
    8.    protected override bool OnIsServerAuthoritative()
    9.    {
    10.        return false;
    11.    }
    12.  
    13. }
    Actual Outcome
    Warning messages saying [Netcode] Detected the Host is sending itself animation updates! Please report this issue.

    Expected Outcome
    No warnings should be logged

    Screenshots


    Environment
    • OS: Windows 11
    • Unity Version: 2022.1.10f1
    • Netcode Version: Version 1.1.0 - October 20, 2022
     
    Osilidath likes this.
  2. Osilidath

    Osilidath

    Joined:
    Jun 29, 2022
    Posts:
    16
    Having same problem, animations works without it perfectly tho.
     
  3. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    440
    Hi, this is an harmless known issue. It has already been reported here. You can follow the issue on github to see how/when it gets resolved
     
  4. elzbeb

    elzbeb

    Joined:
    Jul 30, 2020
    Posts:
    54
    Thanks