linuxgurugamer / TweakableEverything

A KSP mod that players "tweak" standard part values within the game.
Other
6 stars 2 forks source link

Delayed slider reaction and lack of updates for symmetry parts #6

Open tivec opened 7 years ago

tivec commented 7 years ago

I started noticing a slowdown when dragging sliders on certain objects, and the game failing to update some symmetry objects (such as thrust limiter etc), so I went to investigate.

Here's a short clip to show the slowdown and the lack of symmetry update: https://streamable.com/j7zai

I found a LOT of these errors in my log:

[EXC 10:37:12.897] NullReferenceException: Object reference not set to an instance of an object
    TweakableEverything.ModuleTweakableDockingNode.FixedUpdate ()

I also found a few of these errors:

[ERR 08:55:33.108] Module ModuleTweakableGimbal threw during OnStart: System.IO.FileNotFoundException: Could not load file or assembly 'ToadicusTools, Version=0.22.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'ToadicusTools, Version=0.22.1.0, Culture=neutral, PublicKeyToken=null'
  at Part.ModulesOnStart () [0x00000] in <filename unknown>:0 

Just for test, I decided I'd drop TweakableEverything from the install, and everything started behaving properly again.

TweakableEverything is installed via CKAN. ToadicusToolsContinued is at version 0.22.1, and TweakableEverything is at 0.1.21.

Log attached: KSP.zip

linuxgurugamer commented 7 years ago

Ok, I'll take a look. The Tweakable gimbal needs a recompile, I think, but I'll try to make some time this week.

tivec commented 7 years ago

No worries, take your time :) Just want to give you a heads up, the slider delay still seems to happen from time to time for me even without TweakableEverything, but the symmetry issues come back when I reinstall it.

linuxgurugamer commented 7 years ago

The slider delay is most likely becuase of NREs. Next time you see that, even without TE, send me the log