Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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

Discussion in 'Game Server Hosting' started by elzbeb, Jan 8, 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
     
  2. ajdaniel_unity

    ajdaniel_unity

    Unity Technologies

    Joined:
    Jul 19, 2019
    Posts:
    21