Help needed Error codes when starting a scenario

Discussion in 'Custom Playfields & Systems' started by krosbonez, Nov 5, 2020.

  1. krosbonez

    krosbonez Lieutenant

    Joined:
    Sep 30, 2020
    Messages:
    62
    Likes Received:
    91
    Is there a database or list of error codes that I can look up to find out why I am getting them?

    I am working on a custom scenario and get an error code everytime I start it up, in the selection screen before the game even loads.
    Custom Sector using the Sector Generator, custom playfields using Playfield Designer.
    I have tried starting a fresh scenario using only the base files with no edits (random scenario, Akua/Omnicron,) and I still get errors when trying to select the scenario.

    NullReferenceException: Object reference not set to an instance of an object
     
    #1
  2. krosbonez

    krosbonez Lieutenant

    Joined:
    Sep 30, 2020
    Messages:
    62
    Likes Received:
    91
    Here is the error if anyone can tell me what it means?

    Windows 10 (10.0.0) 64bit

    Version: v1.2.3 3136, RAM: 32 GB

    ----

    Initialize engine version: 2019.4.7f1 (e992b1a16e65)

    Version: Direct3D 11.0 [level 11.1]

    NullReferenceException: Object reference not set to an instance of an object

    at Assembly-CSharp.OptionsScope.AttachDevice (Assembly-CSharp.MenuResolver& , System.String , System.Boolean , System.Collections.Generic.List`1[T] , System.Int32 ) [0x00190] in <0756970f04654799b0ed2005f5c4f1bd>:0

    at Assembly-CSharp.OptionsScope.DeleteConfig (System.String , System.Int32 ) [0x00028] in <0756970f04654799b0ed2005f5c4f1bd>:0

    at Assembly-CSharp.DockingPaneCollectionPathSerializer.FormatDomain (PlayfieldYamlData& , System.String , System.Int32 ) [0x000e2] in <0756970f04654799b0ed2005f5c4f1bd>:0

    at Assembly-CSharp.QueueEventArgsPathSerializer.QuoteGroup (System.String , System.Int32[]& , System.Int32 , System.Boolean ) [0x00093] in <0756970f04654799b0ed2005f5c4f1bd>:0

    at Assembly-CSharp.QueueEventArgsPathSerializer+ProcessConverterPathSerializer.MoveNext () [0x0017c] in <0756970f04654799b0ed2005f5c4f1bd>:0

    at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <745c4d442eef4e08
     
    #2
  3. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,403
    Likes Received:
    6,066
    Can you supply the log & a copy of the scenario folder ? feel free to PM them to me.

    Such an Exception is obfuscated as it contains internal code.
     
    #3
  4. Alhira_K

    Alhira_K Captain

    Joined:
    Jan 16, 2017
    Messages:
    287
    Likes Received:
    377
    @Pantera isn't it possible to be a bit more specific about the error? i've come across it too frequently and figuring out what causes it is a real pita.
     
    #4
  5. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,403
    Likes Received:
    6,066
    In general no exceptions are for internal eyes only.

    For what is being shown above it's impossible to say without a log being supplied to be looked.
     
    #5
  6. krosbonez

    krosbonez Lieutenant

    Joined:
    Sep 30, 2020
    Messages:
    62
    Likes Received:
    91
    I was able to find the problem with lots of trial and error. Turns out I had "Origin Human:0" set for a moon. As soon as I removed that entry everything worked. I just wish the errors would at least point us in a direction so we can try to trouble shoot it ourselves instead of slamming the devs every time.
     
    #6
    Alhira_K and Ernicus Maximus like this.

Share This Page