What do you mean when you say "discovery of the unconscious"? Depending how you define it such an idea was explored since antiquity.
I'll only admit I've cheated a little: that Freud's contribution was a scientific one is not an assertion that is "generally regarded as correct." But Freud believed himself to be a scientist and frankly I agree. It's not like Einstein, Wegener, and Darwin are uncontested figures, but certainly Freud is much more so.