Is there a playfield error check?

Discussion in 'Planets & Playfields' started by Andre Merrick, Aug 14, 2017.

  1. Andre Merrick

    Andre Merrick Commander

    Joined:
    Oct 11, 2016
    Messages:
    44
    Likes Received:
    43
    While this is only happening on a couple new planets... the error is ambiguous, and doesn't really inform me of where the actual issue is... now, it could be right in front of me... :)


    14-13:58:56.110 08_58 -LOG- Starting SP/MP game
    14-13:59:05.115 08_59 -LOG- Loading playfield 'Pandora'
    14-13:59:08.943 08_59 -LOG- Playfield 'Pandora' with seed 839746 loaded.
    Platform assembly: D:\SteamLibrary\steamapps\common\Empyrion - Galactic Survival\Empyrion_Data\Managed\Boo.Lang.dll (this message is harmless)
    14-13:59:11.186 08_59 -LOG- Regenerate POI Hongo with id 1: will regenerate in 5 minutes
    14-13:59:23.131 08_59 -LOG- Weather: CloudsLight
    14-14:00:45.757 09_00 -LOG- Unloading playfield 'Pandora'
    14-14:00:46.573 09_00 -LOG- Loading playfield 'Moombi Orbit'
    14-14:00:47.075 09_00 -LOG- Playfield 'Moombi Orbit' with seed 839746 loaded.
    14-14:01:12.119 09_01 -LOG- Unloading playfield 'Moombi Orbit'
    14-14:01:12.204 09_01 -LOG- Loading playfield 'Moombi'
    KeyNotFoundException: The given key was not present in the dictionary.
    at System.Collections.Generic.Dictionary`2[System.String,Assembly-CSharp.AssemblyStream+IconSerializer].get_Item (System.String key) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.ToolboxProvider.ChangeSymbol (Assembly-CSharp.MenuContext , Assembly-CSharp.ToolbarSite , Assembly-CSharp.FunctionLoader , Vector3 ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.ToolboxProvider.CopyQueue (Assembly-CSharp.MenuContext ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.RegistrySerializer.ToggleServer (Assembly-CSharp.ClientScope , Boolean ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.MethodManager.DisableConfig (System.String , UInt64 , Assembly-CSharp.MenuAttribute , Boolean ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.DomainSet.RemovePartition (System.String , Vector3 , Quaternion , ServerEditor , System.String , SolutionSerializer , Assembly-CSharp.MenuAttribute ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.DomainSet.EditAddin (System.String , Vector3 , Quaternion , Assembly-CSharp.LineSerializer , System.Collections.Generic.List`1 , ServerEditor , System.String , SolutionSerializer , Assembly-CSharp.ReferenceManager ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.EmulatorScope.QuoteAssistant (System.Collections.Generic.List`1 , AssistantToken ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.PcitureDictionary.NavigateSymbol (System.String , AssistantToken ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.PcitureDictionary.InsertPlugin (System.String , Assembly-CSharp.ReferenceManager ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.QueueCollection.ShowConnection () [0x00000] in <filename unknown>:0
    at EventDelegate.Execute () [0x00000] in <filename unknown>:0
    at EventDelegate.Execute (System.Collections.Generic.List`1 list) [0x00000] in <filename unknown>:0
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    EventDelegate:Execute(List`1)
    UIInput:Submit()
    UIInput:Update()

    (Filename: Line: -1)

    NullReferenceException: Object reference not set to an instance of an object
    at Assembly-CSharp.MethodManager.AddAddin (Single , ArraySegment`1 , Int32 ) [0x00000] in <filename unknown>:0
    at Assembly-CSharp.DomainSet.ExitDeployment () [0x00000] in <filename unknown>:0
    at Assembly-CSharp.DomainSet.NavigateSymbol () [0x00000] in <filename unknown>:0
    at MBS.Update () [0x00000] in <filename unknown>:0

    (Filename: Line: -1)
     
    #1
  2. piddlefoot

    piddlefoot Rear Admiral

    Joined:
    Mar 4, 2015
    Messages:
    1,849
    Likes Received:
    1,615
    KeyNotFoundException: The given key was not present in the dictionary.

    Theres your error right there champ.

    Its looking for a model asset or the like that is MISSING from the games core files.

    What Ive found it usually is, is a word in the YAML of the planet in question, maybe spelt wrong so the game goes looking for that asset but of coarse doesn't actually have an asset for it because its spelt wrong in YAML.

    So lets say its a tree , Deadtree01 for example and lets say you spelt it like this instead, Daedtree01, its going to throw the above error.

    a and e are out of order. Is looking for wrong asset. Doesn't exist.

    If your running a dedicated server you can set the logs to 2 flags and get an extra log file of the playfield, its very handy for testing and tracking bugs down.

    So I would check that planets YAML, looks like theres a small error on it, not enough to break it but enough to error it.
     
    #2
    Captain Jack II likes this.
  3. Andre Merrick

    Andre Merrick Commander

    Joined:
    Oct 11, 2016
    Messages:
    44
    Likes Received:
    43
    I get that it might be a mis-spelled word. I'm merely taking something and copy and pasting a section from a working playfield.. and putting it into another playfield.. the working one doesn't give any errors... but this one does... I've even checked spacing.. tabs..etc. All looks good. That's why I was looking for a "Playfield Examiner, Checker, Error Detector..." etc.
     
    #3
  4. Jackall

    Jackall Commander

    Joined:
    May 12, 2017
    Messages:
    165
    Likes Received:
    47
    Check out Empyrion Playfield Designer. That's about as close as you are going to get:

    empyriononline.com/threads/tool-empyrion-playfield-designer-v1-34-2.9789/

    Jack
     
    #4
  5. piddlefoot

    piddlefoot Rear Admiral

    Joined:
    Mar 4, 2015
    Messages:
    1,849
    Likes Received:
    1,615
    Yea sorry dude I don't know of any of those, would be handy I agree to track syntax errors.
     
    #5

Share This Page