Search Unity

Bug Issues with netcode 0.5

Discussion in 'NetCode for ECS' started by TRS6123, Nov 6, 2020.

  1. TRS6123

    TRS6123

    Joined:
    May 16, 2015
    Posts:
    246
    The first issue is with IGhostDefaultOverridesModifier. Any additions or removals from overrides aren't reflected in the generated code. I did follow the manual by including my declaration in an assembly ending in .NetCodeGen

    The second issue seems to occur when using Loopback NetworkEndPoints. The console spams out the following message:

    Large serverTick prediction error. Server tick rollback to 281 delta: -10.82098
    UnityEngine.Debug:LogError (object)
    Unity.NetCode.NetworkTimeSystem:OnUpdate () (at Library/PackageCache/com.unity.netcode@0.5.0-preview.5/Runtime/Connection/NetworkTimeSystem.cs:201)
    Unity.Entities.SystemBase:Update () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/SystemBase.cs:399)
    Unity.Entities.ComponentSystemGroup:UpdateAllSystems () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystemGroup.cs:435)
    Unity.Entities.ComponentSystemGroup:OnUpdate () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystemGroup.cs:387)
    Unity.Entities.ComponentSystem:Update () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystem.cs:113)
    Unity.Entities.ComponentSystemGroup:UpdateAllSystems () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystemGroup.cs:435)
    Unity.Entities.ComponentSystemGroup:OnUpdate () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystemGroup.cs:387)
    Unity.Entities.ComponentSystem:Update () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystem.cs:113)
    Unity.Entities.ComponentSystemGroup:UpdateAllSystems () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystemGroup.cs:435)
    Unity.Entities.ComponentSystemGroup:OnUpdate () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystemGroup.cs:387)
    Unity.Entities.ComponentSystem:Update () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ComponentSystem.cs:113)
    Unity.Entities.ScriptBehaviourUpdateOrder/DummyDelegateWrapper:TriggerUpdate () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/ScriptBehaviourUpdateOrder.cs:333)
     
    adammpolak likes this.
  2. adammpolak

    adammpolak

    Joined:
    Sep 9, 2018
    Posts:
    450
    @TRS6123

    I change the code to not use a loopback and instead explicitly use "127.0.0.1" and still received this issue.
     
    Last edited: Nov 24, 2020
  3. TRS6123

    TRS6123

    Joined:
    May 16, 2015
    Posts:
    246
    @adammpolak I did do some further testing and whether or not the error is spammed seems to be machine dependent. It always spams on one of my machines, but never on my other machine.
     
  4. adammpolak

    adammpolak

    Joined:
    Sep 9, 2018
    Posts:
    450
    @TRS6123 windows/mac/linux pc/laptop ?
     
  5. TRS6123

    TRS6123

    Joined:
    May 16, 2015
    Posts:
    246
    adammpolak likes this.