Fixed Space tradestation errors and server performance issues

Discussion in 'Fixed (Read Only)' started by Mikiy, Jul 28, 2020.

  1. Mikiy

    Mikiy Lieutenant

    Joined:
    Sep 6, 2015
    Messages:
    18
    Likes Received:
    23
    Build: A12.3.2 B3024
    Mode: Survival
    Mode: Dedicated Server

    SEED-ID: 1011345 (from dedicated.yaml)

    MODIFIED PLAYFIELDS: No

    Reproducibility: Always
    Severity:

    Type: Performance issues

    Summary: When players are on space based trade stations playfield.log gets hammered with errors and server performance degrades after a while.

    Description: While hosting a dedicated server/default multiplayer game for a couple friends (3 of us) we noticed that the server software starts to lose performance when there are players on the trade station in space for a while (>30 minutes). This performance loss/lag starts with some 1-3 seconds delay when entering cockpit, but can get worse to the point of constructors stopping working and everyone getting playfield connection loss popups to appear for splitseconds (even for me while playing on the same machine as the server). The playfield.log is getting hammered by entries like this one here when that happens:

    28-11:09:03.236 13_09 -ERR- Exception on playfield 'Ala Sector':
    28-11:09:03.242 13_09 -EXC- System.NullReferenceException: Object reference not set to an instance of an object
    at Assembly-CSharp.MethodSite.EnableImage (System.String , System.Boolean ) [0x000dd] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.DriveResolver.EnableDomain (System.Boolean ) [0x00008] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.ProjectContext.EnableDomain (System.Boolean ) [0x00000] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.ProjectContext.DeleteReference (Assembly-CSharp.VectorSite , Assembly-CSharp.FunctionProvider ) [0x00031] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.FunctionProvider.EnableDomain () [0x000ff] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.FunctionProvider.DetachGroup (Assembly-CSharp.IconFactory ) [0x00027] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.NetworkTable.DetachGroup (Assembly-CSharp.IconFactory ) [0x00000] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.SolutionLayout.FormatFile (Assembly-CSharp.VectorSite , Assembly-CSharp.IconFactory , System.Boolean , System.Boolean ) [0x004f2] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.ProjectLoader.EnableImage (Assembly-CSharp.VectorSite , Assembly-CSharp.FunctionLoader ) [0x00548] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.ConnectionLayout.CloneOutline (Assembly-CSharp.VectorSite , Assembly-CSharp.FunctionLoader , System.Boolean ) [0x00026] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.FunctionLoader.PublishDatabase () [0x0007c] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.VectorSite.ListDevice () [0x0011f] in <cf31e2445c104a8eaf6e0c6965de7526>:0
    at Assembly-CSharp.ReferenceHelper.AttachAssembly () [0x00597] in <cf31e2445c104a8eaf6e0c6965de7526>:0

    Not sure if related, but we also noticed that not all traders are there all the time.. can't tell if thats supposed to be that way that only some are there randomly or if its related to whatevers causing those error messages in the log.

    Steps to Reproduce:
    For reproduction purposes, i created a fresh dedicated server, choose a planet to land on (i.e. ala but also tested this with Sudrystelerit), spawn a ship, fly up to the trade station in space, walk around inside and interact some with the traders. The playfield.log will start showing the above errors after walking around on the station, it can take a while for the server performance to degrade.
     

    Attached Files:

    #1
    Last edited: Jul 28, 2020
  2. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,199
    Likes Received:
    5,609
    This is fixed in A12.3.3 B3031
     
    #2
    Germanicus and Pach like this.
  3. Mikiy

    Mikiy Lieutenant

    Joined:
    Sep 6, 2015
    Messages:
    18
    Likes Received:
    23
    That must be fastest reply i ever saw in a game to a bug report, awesome! thanks! :)
     
    #3
    Germanicus and Pach like this.

Share This Page