taniwha / Extraplanetary-Launchpads

GNU General Public License v3.0
54 stars 45 forks source link

UI Broken (Not sure how to explain it) #129

Closed dmh3333 closed 6 years ago

dmh3333 commented 7 years ago

I was building a base on Minmus and about to create a module when I attempted to open the menu. It works on other craft but some craft have this bug after quick loading or just exiting the game and getting back on. It says in the debug menu "Exeption: NullReferenceExeption: Object reference not set to the instance of an object" I'm using KSP 1.2.2. I've also tried new and old versions which is why I am using version 5.7.0. Please help! asdadsw

jmckinstry commented 7 years ago

I encountered this issue on KSP 1.3.0.1804, Extraplanetary Launchpads 5.8.2. I have multiple other mods installed that I'll find names and versions for on request. I can also provide a zip of the save file this is occurring on if desired.

This issue began manifesting when I loaded an existing on-Gilly installation for building parts. One of my four bounding stakes (-X, +X, -Z, +Z, all Bound) had disappeared (couldn't find it via [ or ]). Attempting to use the "Show UI" button resulted in an image similar to the above, with the exception showing in the console.

I couldn't find the stake via [ or ], but tracking had the stake, and I was able to load it. Found it floating 2.7KM above its original location with 0 velocity. Not sure why. Deleting it and then reloading the installation caused the UI to function correctly again. I did so twice to ensure that it was worth reporting.

Attached is my KSP.log file in the hopes that it'll help. The following line puts you near the excitement: [LOG 23:15:05.950] [EL ST] RemoveStake KS-BBQ Survey Stake Gilly KSP.zip

Hope that helps!

taniwha commented 7 years ago

@dmh3333 I suspect that may have been fixed.

@jmckinstry Yeah, going by the logs and looking at the code, it was due to that stake being outside the load range. I need to make that code a little more robust.

SteveBenz commented 7 years ago

I hit this too on 5.8.0 and KSP 1.3.0. Seems like the repro is:

1) Place a stake 2) Quicksave 3) Quickload 4) Open the EL Window

The work-around is: 1) Pick up the stake 2) Quicksave 3) Quickload 4) Place the stake again.

SteveBenz commented 7 years ago

Wish the work around was that reliable... It isn't.

SteveBenz commented 7 years ago

Repro's in 5.9.

doktorjet commented 6 years ago

02.02.2018 - the bug is still there

taniwha commented 6 years ago

This may be fixed by 6.0.0. Please let me know.

taniwha commented 6 years ago

Closing due to lack of additional feedback. If this bug is still present, please either reopen or create a new report.

jmckinstry commented 6 years ago

Apologies for the lack of feedback, was out of the loop for some time.

I have been unable to reproduce this bug in 6.0.0. My original case no longer occurs. SteveBenz's repro steps no longer cause the bug for me either.

So, at a minimum, it works for me! Thanks!

taniwha commented 6 years ago

Thank you :)

portalfan04 commented 3 years ago

Hi there,

Playing on latest version (6.8.3 i think, with KSP 1.11.2. According to people in the forums, it works just fine. I am getting plenty of issues running it with pathfinder however.) and I am also getting this error. It happens whenever I EVA a kerbal out of my gilly base and enter back in.

To reproduce, I just load a save so its working again, and then EVA and it will break again.

It seems that quicksaving and reloading is a fix for this, but its annoying having to do this every 30 seconds.

See attached a screenshot of the error, and my KSP.log file.

screenshot12

log.zip

Hope this helps! I'm not sure if its because im running on 1.11.2, but I spent hours making this modpack from scratch and I'm not very tempted to downgrade after spending hours fixing scatterer configs.