Have had no issues with any cassettes from Shimano or SRAM SLX/XT/PG980/990 they’ve all been fine tbh

I think my obsession with clean dry chains helps a lot. Have used Squirt for some time now, get back from a ride and just brush the dirt off the cassette with a stiff brush, polish the chain and re-apply Squirt. No black gunk or grinding paste the drivetrain components last for ages.