Skip to content

Big map not opening bug #434

Description

@zad112

small map works just fine but when opening big map I just get a null reference exception. This is on the latest version of the mod. v21.1

[EXC 17:49:06.477] NullReferenceException: Object reference not set to an instance of an object
SCANsat.SCAN_Data.SCANdata.get_Anomalies () (at :0)
SCANsat.SCAN_Unity.SCAN_UI_BigMap.get_AnomalyInfoList () (at :0)
SCANsat.Unity.Unity.SCAN_BigMap.SetIcons () (at <2dcdfdd9b9e0431584edc68225fbef80>:0)
SCANsat.Unity.Unity.SCAN_BigMap.setMap (SCANsat.Unity.Interfaces.ISCAN_BigMap map) (at <2dcdfdd9b9e0431584edc68225fbef80>:0)
SCANsat.SCAN_Unity.SCAN_UI_BigMap.Open () (at :0)
SCANsat.SCAN_Toolbar.SCANappLauncher.toggleKSC () (at :0)
KSP.UI.Screens.ApplicationLauncherButton.OnTrue (UnityEngine.EventSystems.PointerEventData data, KSP.UI.UIRadioButton+CallType callType) (at <064af0b53cf94d2cbd73fa4cd1292207>:0)
UnityEngine.Events.InvokableCall2[T1,T2].Invoke (T1 args0, T2 args1) (at <12e76cd50cc64cf19e759e981cb725af>:0) UnityEngine.Events.UnityEvent2[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 <064af0b53cf94d2cbd73fa4cd1292207>:0)
KSP.UI.UIRadioButton.ToggleState (KSP.UI.UIRadioButton+CallType callType, UnityEngine.EventSystems.PointerEventData data) (at <064af0b53cf94d2cbd73fa4cd1292207>:0)
KSP.UI.UIRadioButton.UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <064af0b53cf94d2cbd73fa4cd1292207>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <9add3db8460447c49f8548690f7fd789>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <9add3db8460447c49f8548690f7fd789>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.EventSystems.EventSystem:Update()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions