Avast crashing my Mac Mini M2 Pro

I have a slight problem. Whenever I try to launch a game made with Unity through Steam on my Mac Mini M2 Pro, the entire computer crashes and reboots. I’ve been reading through the crash report and found the culprit in these lines:

Panicked task 0xfffffe24ce6eddb0: 494 pages, 28 threads: pid 1012: com.avast.Antivi
Panicked thread: 0xfffffe1b347b77b8, backtrace:

Any ideas on how to resolve this?

Hi @perzec, can you please send us logs from your Avast installation? The process is described here: https://support.avast.com/en-ww/article/submit-mac-security-support-file/
Please insert the link to this forum topic (https://forum.avast.com/index.php?action=post;topic=328362.0) in the description field.