The following article on ProSoundWeb.com is worth a read. In it, Bobby Owsinski addresses studio recording, specifically how effects pedals can be a problem. He covers tone suck, noise buildup, the wrong effects order and improper gain staging. He describes how the problem occurs, and gives detailed instructions on how to eliminate it (there’s even a graphic of which effect goes where in the chain).
Worth your attention. Read in full.
In The Studio: Four Reasons (And Solutions) For Effects Problems