ferram4 / Ferram-Aerospace-Research

Aerodynamics model for Kerbal Space Program
Other
238 stars 131 forks source link

Crash while approaching a splashed down craft #190

Closed Mighty11 closed 7 years ago

Mighty11 commented 7 years ago

KSP 1.2.2 With FAR De Laval. Game crashes as you approach a craft with status "splashed down" in water or on the shores. Approaching on a landed craft works normally. The crash happens when you come to 200m distance ether flying or surfing on the water.

Here is the crash report and save. https://www.dropbox.com/s/yxwuegm3eg1nnfs/KSP%20crash.rar?dl=0

ferram4 commented 7 years ago

Confirmed, I pushed a new dev build that should fix it. Turns out that there's a single frame on loading where NaN can slip into the calculations due to the risk of a divide-by-zero. I added a check for the NaN to prevent things from breaking.

ferram4 commented 7 years ago

Well, it looks like the build a few days ago fixed that, so I'm closing this.