Okay this was driving me absolutely nuts so I was going over every single setting I had changed since the last time I had built anything which was… quite a while back.
I finally figured it out.
Apparently enabling nanite does not like to work, it was what caused it to crash. So I’m leaving this here for people who might have the same issue; try disabling nanite if you have it enabled.