So my current build is as listed
Motherboard: Msi b450 tomahawk max (most current bios)
CPU: ryzen 5 3600 (no overclock)
GPU: XFX radeon rx 5700xt raw II
RAM: 16gb Corsair vengeance lpx 3200MHz
PSU: Corsair 750 + 80 bronze
I think the core parts are enough. My computer has be doing these weird reboots where im not losing power to the computer the system will shut down and im up and running in about 25 sec. It only does this when im in a game. Currently playing Ghost recon break point and apex legends and it happens on both. I have already tried uninstalling and reinstalling both gpu and motherboard drivers several times. Checked the ram in all 4 slots single channel config and dual channel config. Nothing seem to work. The weirdest part is sometimes like just last week i could play games and stream while listening to music and record with no issues for hours on hours. I dont know if i have a bad gpu of psu or a bad board but i dont want to start ripping this out a replacing things if i dont have to. Everything is set to stock config no overclocking of any kind. And yes i have tried different wall outlets and different room to rule out a faulty wall socket. Temps are fine cpu and gpu do not exceed 75c Please help!!!
Edit: checked for dump files and nothing. no error message of any short honestly showed this issue to a coworker who also builds PCs and he thought it was fixed with a bios update and driver reinstall and the system ran fine for a weekish then started doing that same random restart while gaming.