DBooots / KerbalWindTunnel

A mod for Kerbal Space Program to provide atmospheric performance data for spaceplanes and aircraft.
Other
11 stars 3 forks source link

Not work for certain engines #19

Open 0moonlight opened 1 year ago

0moonlight commented 1 year ago

For engines J404 panther and CR-7 RAPIER, it just displays a gray blank window. However, for other jet engines it works fine. In KSP.log, the following information appears repeatedly:

[EXC 01:49:17.697] NullReferenceException: Object reference not set to an instance of an object KerbalWindTunnel.VesselCache.SimulatedEngine.Init (ModuleEngines engine, KerbalWindTunnel.VesselCache.SimulatedPart part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.SimulatedEngine.Borrow (ModuleEngines module, KerbalWindTunnel.VesselCache.SimulatedPart part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.PartCollection.AddPart (Part part) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.SimulatedVessel.Init (IShipconstruct v) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.VesselCache.SimulatedVessel.Borrow (IShipconstruct v) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.WindTunnelWindow.GetAeroPredictor () (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.WindTunnelWindow.DrawGraph (KerbalWindTunnel.WindTunnelWindow+GraphMode graphMode) (at <2c259425a51c40a68f585fbda0d3719f>:0) KerbalWindTunnel.WindTunnelWindow.DrawWindow (System.Int32 id) (at <2c259425a51c40a68f585fbda0d3719f>:0) KSPPluginFramework.MonoBehaviourWindow.DrawWindowInternal (System.Int32 id) (at <2c259425a51c40a68f585fbda0d3719f>:0) UnityEngine.GUILayout+LayoutedWindow.DoWindow (System.Int32 windowID) (at <58f888e0d56a4620958c8e58a768c70d>:0) UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style) (at <58f888e0d56a4620958c8e58a768c70d>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Other intalled mod: MechJeb, EVE. SVE, seems not like a mod conflict.