Listen to people say onion. A lot pronounce it with an imaginary G in it. I don’t think that has anything to do with what region you’re from though.
There is a section of southern Georgia where "onion" is pronounced "ern' yun." No kidding. I've heard it.