Jump to content

Al_ex

New Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Al_ex

  1. 19 hours ago, garwel said:

    It's related to CLS integration, which constantly gives me pain in the ass. I'm wondering what kind of vessel you had at that moment.

    I added some null checks to prevent it for the next release. For now, you may try disabling CLS integration in Kerbal Health options.

    The vessel on the picture is just a (re)stock mk1 pod. The problem persists on any crewed vessel regardless of the parts used. The monitor in the editor is broken, but in-flight one seems to work. For some reason, the issue does not affect sandbox saves.

    The full log file with debug logging turned on:

    https://file.io/C9h5YQW4PslX

    P.S.: If i play with CLS integration disabled, will turning it on (after the issue gets fixed) break my save?

    P.P.S.: How can I patch modded pods to have RadShield?

  2. I've run into a problem with Kerbal Health after installation. The health monitor in the editor does not work in career/science modes, as shown in the image below:

    Screenshot-1.png

    The log is spammed with reference exceptions:

    Spoiler

    [LOG 17:24:18.234] [KerbalHealth] KerbalHealthEditorReport.DisplayData
    [EXC 17:24:18.258] NullReferenceException: Object reference not set to an instance of an object
        KerbalHealth.KerbalHealthEditorReport.get_CLSSpacesCount () (at <a252c790b4f14e1280cfecc766e8d141>:0)
        KerbalHealth.KerbalHealthEditorReport.<ShowWindow>b__34_4 () (at <a252c790b4f14e1280cfecc766e8d141>:0)
        DialogGUIBase.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        DialogGUIButton.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        DialogGUIBase.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        MultiOptionDialog.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        PopupDialog.SpawnPopupDialog (MultiOptionDialog dialog, System.Boolean persistAcrossScenes, UISkinDef skin, System.Boolean isModal, System.String titleExtra) (at <4b449f2841f84227adfaad3149c8fdba>:0)
        PopupDialog.SpawnPopupDialog (UnityEngine.Vector2 anchorMin, UnityEngine.Vector2 anchorMax, MultiOptionDialog dialog, System.Boolean persistAcrossScenes, UISkinDef skin, System.Boolean isModal, System.String titleExtra) (at <4b449f2841f84227adfaad3149c8fdba>:0)
        KerbalHealth.KerbalHealthEditorReport.ShowWindow () (at <a252c790b4f14e1280cfecc766e8d141>:0)
        KerbalHealth.KerbalHealthEditorReport.OnAppLauncherClicked () (at <a252c790b4f14e1280cfecc766e8d141>:0)
        KSP.UI.Screens.ApplicationLauncherButton.OnTrue (UnityEngine.EventSystems.PointerEventData data, KSP.UI.UIRadioButton+CallType callType) (at <4b449f2841f84227adfaad3149c8fdba>:0)
        UnityEngine.Events.InvokableCall`2[T1,T2].Invoke (T1 args0, T2 args1) (at <12e76cd50cc64cf19e759e981cb725af>:0)
        UnityEngine.Events.UnityEvent`2[T0,T1].Invoke (T0 arg0, T1 arg1) (at <12e76cd50cc64cf19e759e981cb725af>:0)
        KSP.UI.UIRadioButton.SetState (KSP.UI.UIRadioButton+State state, KSP.UI.UIRadioButton+CallType callType, UnityEngine.EventSystems.PointerEventData data, System.Boolean popButtonsInGroup) (at <4b449f2841f84227adfaad3149c8fdba>:0)
        KSP.UI.UIRadioButton.ToggleState (KSP.UI.UIRadioButton+CallType callType, UnityEngine.EventSystems.PointerEventData data) (at <4b449f2841f84227adfaad3149c8fdba>:0)
        KSP.UI.UIRadioButton.UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <4b449f2841f84227adfaad3149c8fdba>:0)
        UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <0c883c16262a4198973f823d01e07427>:0)
        UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <0c883c16262a4198973f823d01e07427>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.EventSystems.EventSystem:Update()
    [EXC 17:24:18.271] NullReferenceException: Object reference not set to an instance of an object
        KerbalHealth.KerbalHealthEditorReport.get_CLSSpacesCount () (at <a252c790b4f14e1280cfecc766e8d141>:0)
        KerbalHealth.KerbalHealthEditorReport.<ShowWindow>b__34_4 () (at <a252c790b4f14e1280cfecc766e8d141>:0)
        DialogGUIBase.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        DialogGUIButton.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        DialogGUIBase.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        MultiOptionDialog.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        PopupDialog.Update () (at <4b449f2841f84227adfaad3149c8fdba>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

     

     

×
×
  • Create New...