My understanding was that the same happened to the actress Alison Arngrim who played Nellie Oleson on “Little House on the Prairie”.
People would project their dislike of the character Nellie onto the actress. I seem to recall a piece of trivia that she was once hit in the head by a can of soda by a fan who disliked the way she (Nellie) treated Laura.
Career wise the same thing happened to Bruce Dern after his character killed John Wayne in The Cowboys.