At the start of the War, the US boats were instructed to attack while running deep, using only sonar bearings for targeting. Nothing was ever hit. The technology of the time was not good enough for blind shots. Later, homing torpedoes were developed, but the German version was only a 2-dimensional homer and could not be used against a submerged sub.