ShotgunNinja / Kerbalism

Hundreds of Kerbals were killed in the making of this mod.
The Unlicense
43 stars 19 forks source link

UB in ResourceCache after quick-load or reverts #52

Closed ShotgunNinja closed 7 years ago

ShotgunNinja commented 7 years ago

Reports indicate issues with the levels of resources shown by telemetry panel (and consequently there must be issues with the resource data stored in cache) after quick-load or reverts.

According to these reports, it happen to unloaded vessels, and then persist if the vessel in question is loaded. It even persist if the savegame is reloaded. It seem to only be fixed when KSP is restarted, that lead to the hypothesis that some static data is involved.

See here for a simple test case, and here for additional info.

ShotgunNinja commented 7 years ago

Check if this can be reproduced, after the fix for #71

ShotgunNinja commented 7 years ago

This was related to #75, and has been fixed here.