cake-pie / AirlockPlus

Mod for Kerbal Space Program. Allows the use of any airlock on a vessel in conjunction with any crew part on the vessel.
http://forum.kerbalspaceprogram.com/index.php?showtopic=160268
Other
2 stars 5 forks source link

Rapid dissasembly when alighting kerbals from parts with no hatches #14

Open aidygus opened 4 years ago

aidygus commented 4 years ago

I use USI MKS parts a lot most of which don't have hatches and hoped this mod would help alleviate some of the chore of moving kerbals into airlocks when needing them on EVA but when I do this I get a huge amount of errors in the log and the part they were in explodes causing the rest of the vessel to explode.

If the part has it's own hatch kerbals can come and go as they please.

AirlockPlus] INFO: EVA button pressed; Loney Kerman in part Tundra.Kolonist375 of New Atlantis attempting to exit via airlock AL on part Tundra.Airlock

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[AirlockPlus] DEBUG: Attempting to spawn EVA...

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[RemoteTech] SatelliteManager: OnVesselCreate(00000000-0000-0000-0000-000000000000, )

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at FlightEVA.onGoForEVA () [0x001a0] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at FlightEVA.spawnEVA (ProtoCrewMember pCrew, Part fromPart, UnityEngine.Transform fromAirlock, System.Boolean tryAllHatches) [0x00237] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at AirlockPlus.AirlockPlus.OnBtnEVA (ProtoCrewMember pcm) [0x0012c] in <a3176989d8874e47a21803b6fed710ec>:0 
  at AirlockPlus.AirlockPlus+<>c__DisplayClass28_0.<AddCrewToList>b__0 () [0x00000] in <a3176989d8874e47a21803b6fed710ec>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void()
  at DialogGUIButton.OptionSelected () [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at DialogGUIButton.<Create>b__23_1 () [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at UnityEngine.Events.InvokableCall.Invoke () [0x00011] in <7d9ec060e791409ab3eb85c61e312ed6>:0 
  at UnityEngine.Events.UnityEvent.Invoke () [0x00023] in <7d9ec060e791409ab3eb85c61e312ed6>:0 
  at UnityEngine.UI.Button.Press () [0x0001c] in <15535c6df78d4af0aa4c587123ed92e6>:0 
  at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00009] in <15535c6df78d4af0aa4c587123ed92e6>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in <15535c6df78d4af0aa4c587123ed92e6>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00063] in <15535c6df78d4af0aa4c587123ed92e6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()

(Filename: <948fceea813942b7ac6b6d1b2dc2d0a3> Line: 0)

Uploading Crash Report
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at KerbalEVA+<StartEVA>d__138.MoveNext () [0x00519] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <7d9ec060e791409ab3eb85c61e312ed6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
KerbalEVA:OnStart(StartState)
Part:ModulesOnStart()
<Start>d__298:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0)

Module KerbalEVA threw during OnStart: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at KerbalEVA.OnStart (PartModule+StartState state) [0x008ea] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at Part.ModulesOnStart () [0x00120] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Module ModuleEvaChute threw during OnStart: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at ModuleEvaChute.OnStart (PartModule+StartState state) [0x00280] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at Part.ModulesOnStart () [0x00120] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[AirlockPlus|BoardingPass] INFO: EVA_Board key is B

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Module EVAEnhancements threw during OnStart: System.NullReferenceException: Object reference not set to an instance of an object
  at EVAEnhancementsContinued.EVAEnhancements.OnStart (PartModule+StartState state) [0x00056] in <18b47f6a432444599c8d0f24e92006a4>:0 
  at Part.ModulesOnStart () [0x00120] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Look rotation viewing vector is zero

(Filename: ./Runtime/Math/MathScripting.h Line: 85)

Look rotation viewing vector is zero

(Filename: ./Runtime/Math/MathScripting.h Line: 85)

[R&D]: No Experiment definition found with id ROCScience

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[AirlockPlus|BoardingPass] INFO: EVA_Board key is B

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Module ModuleKISInventory threw during OnStart: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at KIS.ModuleKISInventory.OnStart (PartModule+StartState state) [0x00218] in <b1c5be4518ce42c0b0702019006d0ec3>:0 
  at Part.ModulesOnStart () [0x00120] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at Part.TransferResource (PartResource resource, System.Double amount, Part other, System.Boolean simulate) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at Part.TransferResource (PartResource resource, System.Double amount, Part other) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.UpdatePackFuel () [0x00049] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.FixedUpdate () [0x000c4] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

(Filename: <948fceea813942b7ac6b6d1b2dc2d0a3> Line: 0)

NullReferenceException: Object reference not set to an instance of an object
  at Part.TransferResource (PartResource resource, System.Double amount, Part other, System.Boolean simulate) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at Part.TransferResource (PartResource resource, System.Double amount, Part other) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.UpdatePackFuel () [0x00049] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.FixedUpdate () [0x000c4] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

(Filename: <948fceea813942b7ac6b6d1b2dc2d0a3> Line: 0)

Part maleEVA(Clone)(Clone) exited collision with bn_r_knee_b01, but it wasn't in collision count list!

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Part maleEVA(Clone)(Clone) exited collision with bn_r_arm01 1, but it wasn't in collision count list!

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at ProtoCrewMember.GetEffect[T] () [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at ProtoCrewMember._GToleranceMult (ProtoCrewMember pcm) [0x00024] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at ProtoCrewMember.get_GExperiencedNormalized () [0x0000b] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at kerbalExpressionSystem.EVAUpdate () [0x001f5] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at kerbalExpressionSystem.UpdateExpressionAI () [0x00022] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at kerbalExpressionSystem.Update () [0x00060] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

(Filename: <948fceea813942b7ac6b6d1b2dc2d0a3> Line: 0)

Kerbal  was marked as debris, fixed.

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at LifeSupport.ModuleLifeSupportSystem.CheckEVA (Vessel evaKerbal) [0x00063] in <293124646a844ce6b8853ebbceabb423>:0 
  at LifeSupport.ModuleLifeSupportSystem.FixedUpdate () [0x00040] in <293124646a844ce6b8853ebbceabb423>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

(Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0)

NullReferenceException: Object reference not set to an instance of an object
  at Part.TransferResource (PartResource resource, System.Double amount, Part other, System.Boolean simulate) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at Part.TransferResource (PartResource resource, System.Double amount, Part other) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.UpdatePackFuel () [0x00049] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.FixedUpdate () [0x000c4] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

(Filename: <948fceea813942b7ac6b6d1b2dc2d0a3> Line: 0)

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at LifeSupport.ModuleLifeSupportSystem.CheckEVA (Vessel evaKerbal) [0x00063] in <293124646a844ce6b8853ebbceabb423>:0 
  at LifeSupport.ModuleLifeSupportSystem.FixedUpdate () [0x00040] in <293124646a844ce6b8853ebbceabb423>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

(Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0)

NullReferenceException: Object reference not set to an instance of an object
  at Part.TransferResource (PartResource resource, System.Double amount, Part other, System.Boolean simulate) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at Part.TransferResource (PartResource resource, System.Double amount, Part other) [0x00000] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.UpdatePackFuel () [0x00049] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
  at KerbalEVA.FixedUpdate () [0x000c4] in <948fceea813942b7ac6b6d1b2dc2d0a3>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)