The simplest solution
Once, on a master, I had this annoying click in just one spot. It showed up because of a mess of automations, special effects, unlucky layering of everything imaginable, and the piano sample had a super short attack that made it kind of "pop".