I thought most brands worked with Shimano chainrings, but the issue was Shimano chains wouldn’t run properly on most other 12 speed chainrings unless they had the right teeth profile. The Shimano 12 speed quick link being the main reason for this.
I’ve found Sram chains on my Shimano 12 speed xt groupset run much better in any hint of mud / slop than the Shimano ones. I initially had an SLX or XT chain (forget which) but I was surprised at the difference between dry and wet shifting / noise in general.
I’ve whacked an XX1 chain on there (because oil slick bling) and it’s much happier through all my winter riding so far. And contrary to popular belief my shifting hasn’t suddenly dropped off a cliff because it’s not a Shimano chain on there.
I intend to run Sram chains only going forward and when my HG12 compatible chainring dies (it’s a Northshore billet chainring for HG12 chains) I’m going to replace it with a Sram x sync 2 direct mount alloy ring.