Question M.2 not being detected + MOBO bios corruption (Gigabyte z390 Master)

Feb 25, 2019
6
0
10
Hey guys this ones a doozy,

Running on a new build for a few days with any major problem.
However I have discovered that every time I put the computer in sleep mode, the BIOS corrupts (Gigabyte z390 Master). So I clear the CMOS and reset the bios.
when that happens my M.2 NVme drive is no longer detected???
This happened once before and after power cycling my M.2 was fine again.

So now this sleep mode corruption happened again but now i cant get my M.2 to boot. I tried it in a different computer and it works fine (boots windows and everything). I also tried plugging in a different M.2 into my mobo and that one gets detected... but no matter what I can't get my main drive to be detected on this computer

So now I'm super lost. Please help?
Also a fix for the weird bios corruption would be great.