Skip to content

Exception spam in Vessel.GoOffRails #396

Description

@JonnyOThan

Not really sure how we got into this state.

[LOG 10:26:25.087] [ApplicationLauncher] SetHidden: 
[LOG 10:26:25.088] ScaleModList: listSize 410 maxListSize 567
[LOG 10:26:25.102] [GenericAppFrame] Reposition 0.3463778 31096
[LOG 10:26:25.113] [ManeuverTool]: Found 1 transfer types
[EXC 10:26:25.115] NullReferenceException: Object reference not set to an instance of an object
    TransferTypeSimple.DrawTypeControls (KSP.UI.ManeuverToolUIFrame appFrame, TransferTypeBase+DrawReason reason) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    ManeuverTool.OnTransferTypeChanged (System.Int32 itemIndex) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    ManeuverTool.OnAppInitialized () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    KSP.UI.Screens.UIApp.<AddToAppLauncher>b__36_1 () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    CallbackUtil+<DelayedCallback>d__1.MoveNext () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <12e76cd50cc64cf19e759e981cb725af>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[LOG 10:26:25.232] [KerbalFX] Vacuum explosion warmup discard complete
[EXC 10:26:26.183] NullReferenceException: Object reference not set to an instance of an object
    Vessel.GoOffRails () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    OrbitPhysicsManager.LateUpdate () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[EXC 10:26:26.199] NullReferenceException: Object reference not set to an instance of an object
    Vessel.GoOffRails () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    OrbitPhysicsManager.LateUpdate () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

KSP - Copy.log

persistent.zip

Perhaps relevant?

[WRN 10:26:16.699] [Part]: Cannot have ModuleCargoPart and ModuleInventoryPart on same Part [JVO Viperfish (unloaded)'. Removed ModuleCargoPart
[LOG 10:26:16.849] [JVO Viperfish]: landed - waiting for ground contact to resume physics...
[EXC 10:26:16.850] NullReferenceException: Object reference not set to an instance of an object
    Vessel.getCorrectedLandedAltitude (System.Double lat, System.Double lon, System.Double alt, CelestialBody body) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    Vessel.Load () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    Vessel.MakeActive () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    FlightGlobals.setActiveVessel (Vessel v, System.Boolean force, System.Boolean clearDeadVessels) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    FlightGlobals.SetActiveVessel (Vessel v) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    FlightDriver.Start () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

May be caused by saving the game with a vessel "landed" on Jool?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kspBugIdentified KSP issueunconfirmedCan't reproduce, more information needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions