NullReferenceException when current target is a docking port that is removed via orbital construction
jd284 opened this issue ยท 1 comments
When using the new stock orbital construction mode and removing a docking port that is the current target of a MechJeb2 vessel, NRE spam occurs and results in being unable to board from EVA (a ghost stays on the ladder), unable to quicksave, or to leave the scene.
Workaround is changing the target from a docking port to the vessel, when one remembers in time.
[ERR 18:16:55.517] MechJeb module MechJebModuleAscentNavBall threw an exception in OnFixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object
at ModuleDockingNode.GetName () [0x00013] in <4a4632fe4eb0471fa0f9f87bb7432bc2>:0
at MuMech.MechJebModuleTargetController.get_Name () [0x00000] in <2e4fc5ddf40341e5ab35113d1fd816cf>:0
at MuMech.MechJebModuleAscentNavBall.get_NavBallGuidance () [0x00012] in <2e4fc5ddf40341e5ab35113d1fd816cf>:0
at MuMech.MechJebModuleAscentNavBall.OnFixedUpdate () [0x00000] in <2e4fc5ddf40341e5ab35113d1fd816cf>:0
at MuMech.MechJebCore.FixedUpdate () [0x00139] in <2e4fc5ddf40341e5ab35113d1fd816cf>:0