Wendell Pierce didn't have an amazing time at the World Series on Wednesday ... 'cause the award-winning actor claims fans were throwing stuff at him -- forcing him to leave the game early.
"The Wire" and "Suits" actor -- who was, oddly enough, rooting for both teams in the Fall Classic -- was present for Game 5 in New York ... but didn't get to witness the Dodgers' comeback win/Yankees' heartbreaking loss.
"Unfortunately I just left the Yankees game because I was talking to a Dodgers fan and people were throwing things at me," Pierce said on X.