rsparkyc / ProceduralFairings

Procedural Fairings mod for Kerbal Space Program
Creative Commons Attribution 4.0 International
11 stars 4 forks source link

NullReferenceException spam caused by attaching an interstage adaptor to an engine that has a shroud. #5

Closed BasharMilesTeg closed 6 years ago

BasharMilesTeg commented 6 years ago

For KSP v1.4.3.2152; PF v1.4.3.2 When the top node of an interstage adaptor 'KzInterstageAdapter2' is attached to an engine that has a shroud (Spark) a NRE repeats until the engine is deleted.

NullReferenceException: Object reference not set to an instance of an object at ModuleJettison.FetchActiveMeshTransform (System.String nameList) [0x00000] in :0 at ModuleJettison.LateUpdate () [0x00000] in :0

This doesn't occur if the engine doesn't have a shroud (Ant)

image

rsparkyc commented 6 years ago

Should be fixed here: https://github.com/rsparkyc/ProceduralFairings/releases/tag/1.4.3.4

You'll need to manually disable the fairing from the engine, but I think that's a lot better than spamming the logs with exceptions. I wanted to figure out how I could access that field with code, but it didn't seem to be working.