Valorant causing PC to crash

So recently I've had this issue where once I queue up for a game, everything works fine. But upon the second that I find a game, my PC immediately crashes and restarts. This happens both when the game begins and ends, and sometimes even in the middle of it. I have only experienced this on valorant, which leads me to believe that this might be a software issue. However I have updated all of my graphic drivers, made sure to do the windows updates etc. as well. Any tips?