Uboats did not operate in the pacific ocean. They operated in the Indian ocean. Only ONE uboat ever penetrated the pacific. That was
U-862.
To say "uboats operated in the pacific ocean", with only one boat poking around syndey and new zealand is a bit of a stretch.