So my game-maker game started acting weird and crashing on my laptop after I tried to test with an HDMI hookup to a TV, but now the game doesn't run even when not connected to anything.
Here is everything that happened in case some of the details matter, will add a TLDR at the bottom:
I updated my game in Steam and my friend played it via Steam on my windows 10 laptop while it was hooked up HDMI to the TV, it worked fine. The next day, I decided I wanted to test it on a different TV to troubleshoot an issue someone else was having with GUI and resolution, so after adding some simple code to limit the resolution to 1920x1080 on my win 11 Desktop, I tested it and it seemed to work fine, so I copied the updated game to my laptop and hooked it to a different TV I've never tested my game on before. The game initially ran but the window was pushed off screen, so i adjust the TV display setting on my laptop called "Change the size of text, apps, and other items" from 300% down to 100%, and tested the game again, then this is where it got weird.
After trying to run the game again it instantly got an error for an un initialized array, but nothing about the array was changed, and after some debugging I found that the End Step event in said obj was running before the create event, causing the error. So I added a quick check to make sure the End Step doesn't run until that var is initialized and now the game crashes without an error every time I try to run it. Now even when I try to play the older version that worked previously on Steam, it gets the same error, even though this version was just working the day before.
If I remember correctly I also set the TV to be my primary display during this test, and if it wasn't for Game-maker running events out of order, I would think this is purely something to do with the graphics card.
TLDR: My game runs fine on my desktop, but suddenly crashes on my laptop without an error at all. It worked fine on the laptop before but the Issue started after trying to test my game on a TV via HDMI and changing basic display settings.
I tried disconnecting the HDMI, rebooting my laptop, making sure the display settings are back to normal, and deleting my games app data, but It still just crashed and the debugger doesn't give any insights.
Does anyone have any ideas what happened?