mockingbirdnest / Principia

𝑛-Body and Extended Body Gravitation for Kerbal Space Program
MIT License
769 stars 69 forks source link

New game starts with unstable system #3438

Closed SewerynRoznowski closed 1 year ago

SewerynRoznowski commented 2 years ago

KSP 1.12.3.3173 on Windows 11 Home Principia august release, "ἵππαρχος" No other mods or addons installed

I've had this issue for last few days. When I start a new game I would sometimes start with an unstable solar system. Seemingly at random. Bop will not be retrograde and will cause Jool system to fall apart.

After some testing I found that I restarting the game temporarily fixes it.

Steps to recreate:

  1. Start game.
  2. Start new sandbox game.
  3. Observe Jool system in the Tracking Station (It will be stable)
  4. Return to main menu.
  5. Start new sandbox game.
  6. Observe Jool system in the Tracking Station (It will be unstable)

At this point every new game will start with a broken solar system, until the game is restarted.

eggrobin commented 2 years ago

INFO.20220906-213938.36820.log

eggrobin commented 2 years ago

Caused by #3424 & #3431.

I0906 21:40:14.147701 15736 ksp_plugin_adapter.cs:2547] Inserting Kerbin...
I0906 21:40:14.147701 15736 interface.cpp:231] principia::interface::`anonymous-namespace'::MakeGravityModel
make_optional_c_string(body_parameters.gravitational_parameter): 3531600000000 m^3/s^2
body_parameters.reference_instant: JD2451545.0
make_optional_c_string(body_parameters.min_radius): 598015 m
make_optional_c_string(body_parameters.mean_radius): 600000 m
make_optional_c_string(body_parameters.max_radius): 608735 m
make_optional_c_string(body_parameters.axis_right_ascension): -90 deg
make_optional_c_string(body_parameters.axis_declination): 90 deg
make_optional_c_string(body_parameters.reference_angle): 90 deg
make_optional_c_string(body_parameters.angular_frequency): 0.000291570900559802 rad/s
make_optional_c_string(body_parameters.j2): nullopt
make_optional_c_string(body_parameters.reference_radius): nullopt
I0906 21:40:14.147701 15736 interface.cpp:287] Fingerprint AD131FF74326503B for Kerbin
[…]
I0906 21:41:01.524408 15736 ksp_plugin_adapter.cs:2547] Inserting Kerbin...
I0906 21:41:01.524408 15736 interface.cpp:231] principia::interface::`anonymous-namespace'::MakeGravityModel
make_optional_c_string(body_parameters.gravitational_parameter): 3531600000000 m^3/s^2
body_parameters.reference_instant: JD2451545.0
make_optional_c_string(body_parameters.min_radius): 598015 m
make_optional_c_string(body_parameters.mean_radius): 600000 m
make_optional_c_string(body_parameters.max_radius): 608735 m
make_optional_c_string(body_parameters.axis_right_ascension): -90 deg
make_optional_c_string(body_parameters.axis_declination): 90 deg
make_optional_c_string(body_parameters.reference_angle): 180 deg
make_optional_c_string(body_parameters.angular_frequency): 0.000291570900559802 rad/s
make_optional_c_string(body_parameters.j2): nullopt
make_optional_c_string(body_parameters.reference_radius): nullopt
I0906 21:41:01.524408 15736 interface.cpp:287] Fingerprint 3D3386A907DD8E35 for Kerbin