RemoteTechnologiesGroup / RemoteTech

Community developed continuation of Kerbal Space Program's RemoteTech mod.
http://remotetechnologiesgroup.github.io/RemoteTech
GNU General Public License v2.0
230 stars 103 forks source link

NullReferenceException when carrying deployable probodyne science in EVA #804

Closed aidygus closed 4 years ago

aidygus commented 4 years ago

When trying to place the probodyne deployable science module in EVA the frame rate tanks and this error message is repeated continuously in the log

`NullReferenceException: Object reference not set to an instance of an object at RemoteTech.Modules.ModuleSPU.UpdateControlState () [0x0005f] in :0 at RemoteTech.Modules.ModuleSPU.FixedUpdate () [0x00011] in :0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

(Filename: Line: 0) ` After placing the part on the ground, quicksaving and reloading it returns to normal. Error only appears when part is in the kerbals inventory