Crash when playing 3v3/4v4/3v4 custom games since 5.0.14

We are a group of 6-8 people who regularly play various formats of custom games (no ladder). Most are on PCs, two of us are on Macs.
Ever since the last big 5.0.14 patch the game started consistently crashing for me on the Mac, usually around 5-10 minute mark. Every single game. There are no signs, at one point it just kicks me to the desktop with a Blizzard crash report.
This only happens in larger matches, 3v3 and more. 1v1 doesn’t seem to crash it at all.
Yesterday the same happened to the other Mac guy.

I have tried deleting the cache folder, removing SC2, battlenet. I created a new user, tried running it there - the same thing happened. I am on an M2 Pro with 32GB ram, the other one is an M4 Pro with 24GB ram.

It has happened to me as well. Mac M4 Pro with 24GB RAM. Unfortunately I am not able to find a fix for it too.