Alright finally got a chance to look at these...
Lafiel sing the torpedo launcher (quantum) when switching the UI button to tricobalt torpedo. The part appears at a 90 degree angle after the swap. In this example even in free space outside the ship.
Yup, definitely a bug, will be fixed in next update.
Lafiel Related to swapping I have Key already exits error with all starbase gates when switching. I couldn't find the source of the error. And frankly that error shouldn't be possible because I only replaced TriggeredEffect for TriggeredSwap and change the name so if anything it should have been a not-finding error.
This looks like it's caused by the same bug. Since it's getting swapped with a part using the incorrect rotation, in this particular example there happens to be a part already in that incorrect location, thus the crash.
As an aside, I noticed that swapping parts will cause it to be deselected. This will also be fixed in the next update.