This is when you're swapping the whole part when the mode changes, right? Because UIToggle states do get saved with ship files, but if you're using a UIToggle or UIButton to swap the entire part, the blueprints won't get swapped, and blueprints are what get saved in ship files. Perhaps there should be an option in TriggeredPartSwap to swap blueprints as well?