SCANsat icon indicating copy to clipboard operation
SCANsat copied to clipboard

Loading vessel with narrow band scanner causes exception in ModuleSCANresourceScanner.EnableModule

Open JonnyOThan opened this issue 3 years ago • 0 comments

I had a vessel with a stock narrow-band scanner enabled, and loading the vessel causes this error:

[ERR 11:06:18.955] Module ModuleAnimationGroup threw during OnLoad: System.NullReferenceException: Object reference not set to an instance of an object
  at SCANsat.SCAN_PartModules.ModuleSCANresourceScanner.EnableModule () [0x000b0] in <9cf62b26bd1745c8ac93bcaa7703d75d>:0 
  at ModuleAnimationGroup.EnableModules () [0x0006d] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at ModuleAnimationGroup.DeployComplete () [0x00035] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at ModuleAnimationGroup.SetDeployedState (System.Int32 speed, System.Boolean resetAnimationTime) [0x00084] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at ModuleAnimationGroup.CheckAnimationState () [0x0001b] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at ModuleAnimationGroup.OnLoad (ConfigNode node) [0x0000c] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at PartModule.Load (ConfigNode node) [0x001ab] in <9d71e4043e394d78a6cf9193ad011698>:0 

Not sure if it affects anything yet. KSP.zip

JonnyOThan avatar Jul 17 '20 19:07 JonnyOThan