Help needed Constant Exception on Dedicated Server (Solved)

Discussion in 'Custom Playfields & Systems' started by StuardBr, Aug 21, 2021.

  1. StuardBr

    StuardBr Lieutenant

    Joined:
    Jan 21, 2017
    Messages:
    17
    Likes Received:
    14
    Hello guys!
    I started a public server to play, some random guys are playing with me, but today the server started to be unstable in some moments.

    First, the server stopped to handle the structures. POIs don't rendered, HV, SV and CV stopped to move. After restart, all ok again.

    Some minutes after, the server started to not recognize tools and weapons, but the problem vanished without intervention.

    After a look in logs, the same exception in the two cases:

    20-21:36:49.133 18_36 -ERR- Exception on playfield 'Oscutune':
    20-21:36:49.134 18_36 -EXC- System.NullReferenceException: Object reference not set to an instance of an object
    at Assembly-CSharp.OptionsFactoryStoreSerializer.BatchBuildPciture (System.Single ) [0x00064] in <423d667a9edf4a5781344a6a8422a355>:0
    at Assembly-CSharp.OptionsFactoryStoreSerializer.Update (System.Single _deltaTime) [0x00007] in <423d667a9edf4a5781344a6a8422a355>:0
    at Assembly-CSharp.ResourceEventArgsStoreSerializer.Update (System.Single _deltaTime) [0x0003d] in <423d667a9edf4a5781344a6a8422a355>:0
    at Assembly-CSharp.StubDesigner.EditToolbar () [0x000a7] in <423d667a9edf4a5781344a6a8422a355>:0
    at Assembly-CSharp.OptionsEventArgs.AttachDeployment (System.Single , System.Int32 ) [0x000e3] in <423d667a9edf4a5781344a6a8422a355>:0
    at Assembly-CSharp.ServerEventArgs.ConnectWindow () [0x005cb] in <423d667a9edf4a5781344a6a8422a355>:0
    NullReferenceException: Object reference not set to an instance of an object
    at Assembly-CSharp.ProcessInvokerStoreSerializer.BuildTreeNode (Assembly-CSharp.ActivatorCollectionStoreSerializer ) [0x0000a] in <423d667a9edf4a5781344a6a8422a355>:0
    at Assembly-CSharp.ProcessInvokerStoreSerializer.AttachContext () [0x0005f] in <423d667a9edf4a5781344a6a8422a355>:0
    at Assembly-CSharp.ProcessInvokerStoreSerializer.ShowBitmap (System.Boolean , System.Single , System.Boolean ) [0x00013] in <423d667a9edf4a5781344a6a8422a355>:0
    at BehaviorDesigner.Runtime.Tasks.UtilitySelectors.Eleon.BAISubSelectorSelectTarget.SelectFromSensorTarget () [0x00086] in <423d667a9edf4a5781344a6a8422a355>:0
    at BehaviorDesigner.Runtime.Tasks.UtilitySelectors.Eleon.BAISubSelectorSelectTarget.GetIsHardExit () [0x0002a] in <423d667a9edf4a5781344a6a8422a355>:0
    at BehaviorDesigner.Runtime.Tasks.UtilitySelectors.Eleon.BAISubSelectorInvertHardExit.GetIsHardExit () [0x0001c] in <423d667a9edf4a5781344a6a8422a355>:0
    at BehaviorDesigner.Runtime.Tasks.UtilitySelectors.Eleon.BAISubSelector.GetIsHardExit () [0x00084] in <423d667a9edf4a5781344a6a8422a355>:0
    at BehaviorDesigner.Runtime.Tasks.UtilitySelectors.Eleon.BAISubSelectorHighest.GetIsHardExit () [0x0007a] in <423d667a9edf4a5781344a6a8422a355>:0
    at BehaviorDesigner.Runtime.Tasks.UtilitySelectors.Eleon.BAISubSelectorBase.GetUtility () [0x0000c] in <423d667a9edf4a5781344a6a8422a355>:0
    at BehaviorDesigner.Runtime.Tasks.UtilitySelector.OnReevaluationEnded (BehaviorDesigner.Runtime.Tasks.TaskStatus status) [0x00034] in <347795e9533f47cfbbb1835327aec5b1>:0
    at BehaviorDesigner.Runtime.BehaviorManager.ReevaluateParentTasks (BehaviorDesigner.Runtime.BehaviorManager+BehaviorTree behaviorTree) [0x0009d] in <347795e9533f47cfbbb1835327aec5b1>:0
    at BehaviorDesigner.Runtime.BehaviorManager.Tick (BehaviorDesigner.Runtime.BehaviorManager+BehaviorTree behaviorTree) [0x00007] in <347795e9533f47cfbbb1835327aec5b1>:0
    at BehaviorDesigner.Runtime.BehaviorManager.Tick () [0x00011] in <347795e9533f47cfbbb1835327aec5b1>:0
    at BehaviorDesigner.Runtime.BehaviorManager.Update () [0x00000] in <347795e9533f47cfbbb1835327aec5b1>:0

    This piece of log repeated for 3 hours, util I restarted in first time (100mb+ of log). In second time, after the 2 players online disconnected and connected again, the exception vanish without restart.

    Please, can anyone give me a tip in how to fix this? I have 6 players, 4 of them are living in Oscutune.
     
    #1
  2. Hawkie

    Hawkie Commander

    Joined:
    Dec 7, 2018
    Messages:
    150
    Likes Received:
    80
    From what i can see you have done an edit in the playfield.yaml for OScutune, and its propably a space or you have wrong indentation.
    Yaml is really easy to mess up with those kinds of things. If it is still a major problem for you, then upload the playfield.yaml for Oscutune and me or others will help you figure it out.

    and btw a good test just to see if its a config error is to rename the playfield.yaml to for example playfield.yaml.old and then copy in the playfield.yaml from one of the planets in the vanilla game, and just see if server loads properly. Hint, do not fly in and activate that playfield, as you will need to clear local cache if you do that.
     
    #2
  3. StuardBr

    StuardBr Lieutenant

    Joined:
    Jan 21, 2017
    Messages:
    17
    Likes Received:
    14
    Hello @Hawkie , thanks for the reply. This is strange... I don't edited Oscutune playfiled.yaml... But, after the last update, the error vanished. Thank you again for you time. Have a good game!
     
    #3
  4. Hawkie

    Hawkie Commander

    Joined:
    Dec 7, 2018
    Messages:
    150
    Likes Received:
    80
    No problems my friend. Always happy to try to help a fellow gamer.
     
    #4

Share This Page