Note that I haven't looked at your code or tested how TCA handle RCS modules.
But FYI, since the introduction of the stock mesh-switchable RCS parts with variable nozzle configurations, it is now necessary to verify that a Transform entry in ModuleRCS.thrusterTransforms is actually enabled by checking transform.gameObject.activeInHierarchy.
Note that I haven't looked at your code or tested how TCA handle RCS modules. But FYI, since the introduction of the stock mesh-switchable RCS parts with variable nozzle configurations, it is now necessary to verify that a
Transform
entry inModuleRCS.thrusterTransforms
is actually enabled by checkingtransform.gameObject.activeInHierarchy
.