Mihara / RasterPropMonitor

Plugin for Kerbal Space Program. This repository is out of date and is primarily of historic interest. See https://github.com/JonnyOThan/RasterPropMonitor
http://forum.kerbalspaceprogram.com/threads/57603
Other
116 stars 66 forks source link

JSIFlashModule NRE when swapping vessels #671

Closed MOARdV closed 6 years ago

MOARdV commented 6 years ago

Discovered testing MAS with an RPM IVA in one vessel and a MAS vessel in another.

[EXC 13:21:03.048] NullReferenceException: Object reference not set to an instance of an object
    JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext ()
    UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)

Spawned / started on the RPM IVA, switched to the MAS vessel, and this NRE fired in RPM.