Skip to content

Can't turn off "offered orbits" #9

@Rodg88

Description

@Rodg88

I'm getting an error when I try toggle a map filter, though the visibility change does work for craft/waypoints. However when I try toggle "contract offered orbits" to off, they don't get disabled.

  at (wrapper managed-to-native) UnityEngine.MonoBehaviour.IsObjectMonoBehaviour(UnityEngine.Object)
  at UnityEngine.MonoBehaviour.StartCoroutine (System.Collections.IEnumerator routine) [0x00014] in <12e76cd50cc64cf19e759e981cb725af>:0 
  at BetterTracking.Tracking_Controller.OnMapViewFiltersModified (MapViewFiltering+VesselTypeFilter filterType) [0x0000f] in <cb40b1189d71419681afcc0060740214>:0 
  at EventData`1[T].Fire (T data) [0x000b0] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 

[EXC 11:00:23.877] NullReferenceException
	UnityEngine.MonoBehaviour.StartCoroutine (System.Collections.IEnumerator routine) (at <12e76cd50cc64cf19e759e981cb725af>:0)
	BetterTracking.Tracking_Controller.OnMapViewFiltersModified (MapViewFiltering+VesselTypeFilter filterType) (at <cb40b1189d71419681afcc0060740214>:0)
	EventData`1[T].Fire (T data) (at <39c0323fb6b449a4aaf3465c00ed3c8d>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:LogException(Exception)
	EventData`1:Fire(VesselTypeFilter)
	ContractConfigurator.Util.TrackingStationUI:OfferedOrbitButtonClick()
	UnityEngine.Events.UnityEvent:Invoke()
	KSP.UI.Screens.TrackingStationObjectButton:Update()```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions