MechJeb2

MechJeb2

4M Downloads

[bug/error] Exception spam in log from MechJebModuleWarpHelper

LazyBoot opened this issue ยท 1 comments

commented

While using the warp helper the output log is filled with this exception several times per second

[ERR 03:49:44.252] MechJeb module MechJebModuleWarpHelper threw an exception in OnFixedUpdate: System.IndexOutOfRangeException: Array index is out of range.
  at MuMech.MechJebModuleWarpController.WarpRegularAtRate (Single maxRate, Boolean instantOnIncrease, Boolean instantOnDecrease) [0x00000] in <filename unknown>:0 
  at MuMech.MechJebModuleWarpController.WarpToUT (Double UT, Double maxRate) [0x00000] in <filename unknown>:0 
  at MuMech.MechJebModuleWarpHelper.OnFixedUpdate () [0x00000] in <filename unknown>:0 
  at MuMech.MechJebCore.FixedUpdate () [0x00000] in <filename unknown>:0 
commented

I've seen this bug occasionally, I think it comes from MJ for some reason trying to go past max warp.
I also think I've fixed that once in my fork but no idea anymore where xD
I'll see if I can find it.

Edit: ok fixed the problem, #213