SSTU - Shadow Space Technologies Unlimited

SSTU - Shadow Space Technologies Unlimited

98.5k Downloads

NRE in VAB: Procedural Decoupler and Probe Core

leatherneck6017 opened this issue ยท 2 comments

commented

Using the 1.3 dev build I get this in the log for the procedural decoupler (SC-GEN-PDC) and probe core (SC-GEN-PPC). Their descriptions show up, but the right side is empty where it would normally show the installed modules for the part.

NullReferenceException: Object reference not set to an instance of an object at SSTUTools.SSTUProceduralDecoupler.GetInfo () [0x00000] in <filename unknown>:0 at KSP.UI.Screens.Editor.PartListTooltip.CreateExtendedInfo (Boolean showPartCost) [0x00000] in <filename unknown>:0 at KSP.UI.Screens.Editor.PartListTooltip.Setup (.AvailablePart availablePart, .Callback`1 onPurchase, UnityEngine.RenderTexture texture) [0x00000] in <filename unknown>:0 at KSP.UI.Screens.Editor.PartListTooltipController.CreateTooltip (KSP.UI.Screens.Editor.PartListTooltip tooltip, KSP.UI.Screens.EditorPartIcon partIcon) [0x00000] in <filename unknown>:0 at KSP.UI.Screens.Editor.PartListTooltipController.OnTooltipSpawned (KSP.UI.Tooltip tooltip) [0x00000] in <filename unknown>:0 at KSP.UI.UIMasterController.SpawnTooltip (ITooltipController tooltipController) [0x00000] in <filename unknown>:0 at KSP.UI.PinnableTooltipController.OnPointerEnter (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <filename unknown>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerEnterHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <filename unknown>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerEnterHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) [0x00000] in <filename unknown>:0

commented

Thanks for the report. Looks like I need to do some adjustments to the code on that part; it is null-reffing at the point where it is trying to retrieve the and expanded module info, which should be simple enough to fix up.

commented

Fixed in dev code, will be available with the next update.