Skip to content

PartStartStability patch can cause "kraken shake" events on scene load #324

@gotmachine

Description

@gotmachine

Bug report originally submitted on the forum by user @kerb8345

Provided save reproducing the issue :
kerb8345_sample.zip

In the provided save, on loading the quicksave numbered "2", the vessel quickly enter a self-reinforcing physics instability leading to a kraken event, but only when the PartStartStability patch is enabled. I've verified this reproduce in a stock install with just KSPCF installed.

I haven't investigated much, but something interesting to note is that the craft is clawed to a large mass asteroid, with four radial orange tanks docked to the main hull through small docking ports, and their autostrut mode set to heaviest part, and consequently being autostrutted to the asteroid.

Interestingly, when the PartStartStability patch is enabled, the issue can be reproduced during play and not just at the scene load, by taking those steps :

  • Load the quicksave dubbed "1", where the craft is not yet clawed to the asteroid
  • Set the radial tanks autostrut mode to "none"
  • Approach and claw with the asteroid
  • Quicksave / quickload
  • Set the radial tanks autostrut mode to "heaviest part"
2025-06-21.00-01-43-619.mp4

This reproduce the physics instability, despite the Part.Start() method the PartStartStability patch is altering not being involved when the autostrut mode is changed.

This however doesn't reproduce in the following case :

  • Load the quicksave dubbed "1", where the craft is not yet clawed to the asteroid
  • Don't change the radial tanks autostrut mode (let it be "heaviest part")
  • Approach and claw with the asteroid

This seems to indicate our modification is causing a change in the parts state, leading to the shaking behavior, a state change that is somehow reset when clawing with the asteroid (which internally involve a partial reset of the parts/vessel state).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions