I’ve broken two, a SLX on the MTB and an Ultegra in a CX race. Both involved mud and sticks. Both were pretty catastrophic, cages broken off and/or ripped in two.
The CX race was extreme mud, also twisted the chain and cut the hanger in two.
I’ve also broken and bent about a half dozen hangers. Much preferable.