Mini pc crashes and restarts when playing game
I have had my mini pc, a Beelink SER5 Pro Mini Pc, for about 2,5 years and I was always able to play the game with DLC and CC perfectly up until about a month and a half ago when this issue started. Shortly after it started, I replaced the thermal paste and got rid of dust and it worked fine again for weeks up until now.
I game for about 10 min until my pc crashes, and the message "Your PC ran into a problem and needs to restart" flashes on the screen for a split second before restarting, so I don't have enough time to provide a screenshot or exact error code unfortunately, but it says something like "Kmode exception not handled".
I downloaded HWinfo and it seems like the issue is because of overheating. Right before my mini pc reaches 90 degrees is when it crashes and restarts.
I'm confused because this seemingly happened overnight and had been working perfect before, never had any overheating/crashing issues. This also only happens with the Sims 4, not any other heavier games.
I'm not a tech person at all (if you can't tell) so any help is greatly appreciated!