Maxi
New Member
- Oct 17, 2025
- 11
- 3
Game Version
2026.2.32.3646Operating System
Windows 10 ProWhat Happened
While calculating a Hohmann transfer from the default rocket in LEO to Luna, the game freezes completely, becomes unresponsive and then crashes. This occurs during the porkchop plot calculation at varying progress percentages (seen at ~20% and ~80%). The game does not recover and just crashes.This happens in ~1/10 LEO->Luna hohmann transfer calculations. I was not able to reproduce the same issue with e.g. LEO -> Mars transfer calculations (yet).
What Was Expected
The transfer calculation should complete without crashing the game, or fail gracefully with an error message rather than crashing the entire application.Reproduction Steps
- start a new game with the default rocket in low Earth orbit
- Open the Transfer Planner
- Set:
- Plan Type: Hohmann
- Source: Rocket
- Destination: Luna
- Transfer Window
- Hohmann Time Of Flight: 4,91 days - Time Unit: Days
- Minimum Time of Flight: 2 Days
- Maximum Time of Flight: 14 Days
- Set Target: [checked]
- Show Parent/Target Alignment: [checked]
- click "calculate"
- Observe the progress bar and the the game crashing at a random percentage
Reproduction Rate
This happens in ~1/10 LEO->Luna hohmann transfer calculations. I was not able to reproduce the same issue with e.g. LEO -> Mars transfer calculations (yet).Additional Info
- Here is the Exception:
- System.Exception
HResult=0x80131500
Message=unclassifiable eccentricity: NaN
Parent: Earth Time: 395937,4803085536secs.
PositionCci: <NaN. NaN. NaN>
VelocityCci: <-1012,5706139446. 377,8828861158. 176,0872447814>
Source=KSA
StackTrace:
at KSA.Orbit.CreateFromStateCci(IParentBody parent, SimTime stateTime, double3 positionCci, double3 velocityCci, byte4 orbitLineColor) in KSA\Orbit.cs:line 1360
at KSA.PatchedConic.CreateFromCalcData(PatchCalcData calcData) in KSA\PatchedConic.cs:line 270
at KSA.FlightPlan.CalculateEscapePatch(PatchedConic patch, SimTime startTime, PatchedConic& nextPatch) in KSA\FlightPlan.cs:line 530
at KSA.FlightPlan.CalculatePatch(List`1& patches, PatchedConic patch, SimTime startTime, KeyHash idHash, SimTime& expiryGameTime, Nullable`1 nextBurnTime, Boolean burnPatch, Int32 polynomialOrderN) in KSA\FlightPlan.cs:line 298
at KSA.FlightPlan.ComputeCompleteTrajectory(Int32 patchLimit, Int32 polynomialOrderN) in KSA\FlightPlan.cs:line 154
at KSA.OrbitalTransfers.BuildFlightPlan(FlightPlan& flightPlan, TransferInfo transferInfo, SimTime startTime, double3 dvVlf, OrbitPointCce& closestPoint, Double& closestApproach) in KSA\OrbitalTransfers.cs:line 272
at KSA.TransferTask.WorkerTask.CalculateAutomaticTransfer(TransferInfo transferInfo, SimTime startTime, SimTime transferMinTime, Int32 offset, Int32 totalRows, SimTime porkchopTransitStep, SimTime porkchopStartStep, CancellationToken token) in KSA\TransferTask.cs:line 89
at KSA.TransferTask.WorkerTask.ThreadPoolCallback(Object threadContext) in KSA\TransferTask.cs:line 65
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
- System.Exception
- I reproduced the Error by loading StarMap in VisualStudio to get the Stacktrace at first. I was also able to reproduce the same error in stock KSA without StarMap and with no Mods.
Upvote
0