Upvote:2
You should read about the Gleichschaltung, the Nazi attempt to take control of the entire German society. They managed to suppress most visible oppositon, which also applied to the sciences.
Some scientists were or became Nazis, many went along with them, a few emigrated.
Upvote:2
I am aware of two Nobelists in physics becoming enthusiastic nazis (Stark and Lenard); perhaps not insignificantly they were from an older generation, pre-relativity. On the other hand Heisenberg's devotion to nazism I think is not clear. There is at least one quote which makes him sound fairly sympathetic to the cause.
In math there were numerous nazis some of whom betrayed Jewish mentors although some tried to help despite being nazis. Hilbert, a man whose position was pretty safe was certainly not a nazi and when asked by a nazi functionary about math in Gottingen, said, there is really no math at all -- this was after many top mathematicians had been forced out.
I would say that other fields were similar with scientists on both sides.