i use windows, this is a gamemaker issue, nothing to do with you
https://forum.gamemaker.io/index.php?threads/solved-gamemaker-studio-2-wont-comp...
its been happening since 2017 and they still havent found a fix for it, for some people updating just breaks gamemaker so theyre stuck using older ones