Problem was the Top Secret Mk 6 Magnetic Exploder on both the Mk14 in subs and the MK15 on destroyers.
So secret that they were worried about espionage and didn't test it sufficiently.
Can you imagine how many more ships would have been sunk by US forces had they had the Long Lance.