MOARdV / AvionicsSystems

MOARdV's Avionics Systems for Kerbal Space Program - a new generation of IVA enhancement.
Other
52 stars 26 forks source link

Detaching from a Modular Launchpads base causes the screen to go black #343

Open Tonas1997 opened 2 years ago

Tonas1997 commented 2 years ago

Title. As identified here, if a capsule with an IVA configured by MAS stages from a MLP pad the screen will turn black, breaking map view as well.

MOARdV commented 2 years ago

When you say "screen will turn black", do you mean MFD screens in IVA, or do you mean the KSP screen? Can you post the KSP.log file, so I can see if there are hints about the failure?

Tonas1997 commented 2 years ago

Sorry, I should have been more specific 😅

Here's what happens. The glitch starts occurring as soon as I stage away from the launch platform. The capsule I'm using comes from NearFutureSpacecraft and is patched by the Vexarp IVA which adds in some MAS elements.

https://user-images.githubusercontent.com/43859708/145824796-b9bf6956-2ead-4866-931f-29b81684ddf3.mp4

I was able to trace the problem to the crew access arm you see on top of the launch tower: when I removed that part, I was able to launch without any issues. This part has crew capacity and a very barebones IVA, as seen in the image below:

screenshot312

(note: I'm not sure this particular IVA is relevant to the issue, as it isn't modified by MAS as far as I know.

KSP.log comes attached in a zip file, as I had a lot of logspam caused by AvionicsSystems and the file grew too large to post elsewhere.

KSP.zip

MOARdV commented 2 years ago

Okay. That helps a lot. It looks like there are a lot of exceptions upstream of MAS going nuts, so MAS is in a bad state. I can suppress the spam of exceptions pretty easily, but I suspect the MFDs will still be non-functional due to whatever is making it misbehave. Although maybe the other errors MAS is reporting earlier are a hint. I'll look into it.

(Note for myself for when I have time - the MFDs are reporting errors related to the crew count. The vessel just staged and a crew-capable component just got detached. Maybe there's something not updating correctly when that happens)