MechJeb2

MechJeb2

4M Downloads

NullRef when starting Landing Prediction (NonAtmo)

Mokmo opened this issue ยท 1 comments

commented

As i tick the box "show landing info" or start a landing to a specified spot, i get some null ref errors and both functions won't work at all (landnig a/p saying only "stop")

This is one of the errors, the others are identical. It's from a ship orbiting Minmus at 75km and 70degree inclination.

NullReferenceException: Object reference not set to an instance of an object
at DragCubeSystem.RenderProceduralDragCube (.Part p) [0x00000] in :0

at DragCubeList.SetDragWeights_Procedural () [0x00000] in :0

at DragCubeList.SetDragWeights () [0x00000] in :0

at MuMech.SimulatedPart.CopyDragCubesList (.DragCubeList source, .DragCubeList dest) [0x00000] in :0

at MuMech.SimulatedPart.Set (.Part p, MuMech.SimCurves _simCurves) [0x00000] in :0

at MuMech.SimulatedPart.New (.Part p, MuMech.SimCurves simCurve) [0x00000] in :0

at MuMech.SimulatedVessel.Set (.Vessel v, MuMech.SimCurves _simCurves, Double startTime, Int32 limitChutesStage) [0x00000] in :0

at MuMech.SimulatedVessel.New (.Vessel v, MuMech.SimCurves simCurves, Double startTime, Int32 limitChutesStage) [0x00000] in :0

at MuMech.MechJebModuleLandingPredictions.StartSimulation (Boolean addParachuteError) [0x00000] in :0

at MuMech.MechJebModuleLandingPredictions.OnModuleEnabled () [0x00000] in :0

at MuMech.ComputerModule.set_enabled (Boolean value) [0x00000] in :0

at MuMech.UserPool.Add (System.Object user) [0x00000] in :0

at MuMech.MechJebModuleLandingAutopilot.LandAtPositionTarget (System.Object controller) [0x00000] in :0

at MuMech.MechJebModuleLandingGuidance.WindowGUI (Int32 windowID) [0x00000] in :0

at UnityEngine.GUILayout+LayoutedWindow.DoWindow (Int32 windowID) [0x00000] in :0

at UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style) [0x00000] in :0

(Filename: Line: -1)

commented

Dev 446 on 1.0.2... d'oh