I’m not sure what happened but I’m currently rescanning and it hasn’t crashed.
Something must have happened to the desktop launcher even though it was pointing to the same file it was pointing to when the wallet was working properly. One day I clicked the desktop launcher and there was weird text and it crashed after less than 1 minute. The desktop launcher was previously working. I went and clicked on the actual CMD file and it worked. I have now set up a new desktop launcher.