WildBlueTools icon indicating copy to clipboard operation
WildBlueTools copied to clipboard

WBIModuleScienceExperiment causes CPU usage to spike

Open Calvin-13 opened this issue 1 year ago • 2 comments

For the past few days, I have been using the experiments from this mod on my station. When the vessel is loaded for the first time, either through entering physics range with another vessel or selecting it in the tracking station, nothing occurs. However, when it is loaded for a second time, a NullReferenceException relating to the WBIModuleScienceExperiment part module occurs and CPU usage increases to about 80-90%.

When this occurs, performance decreases dramatically (10+ minutes to load into the VAB, incredibly low frame rates). The abnormally high CPU usage only ceases when KSP is closed, and the game will often crash to desktop without producing a log or crash dump.

KSP.log Player.log

Calvin-13 avatar Mar 26 '23 04:03 Calvin-13

I can confirm that the NRE and sudden performance drop does not occur when using version 1.88.1 of Wild Blue Tools. The high CPU usage may be coincidental and not a sign of the problem.

Calvin-13 avatar Mar 26 '23 22:03 Calvin-13

I believe the issue may be with Snacks rather than WBT.

Calvin-13 avatar Mar 28 '23 05:03 Calvin-13