Game keeps freezing up, black screening and "crashing" every 30 minutes or so, please help

Whenever I've been playing hsr for more than 20 minutes both my screens suddenly freeze up, turn black, then the individual windows and apps I have open (aside from hsr itself) start to "flicker" slowly, as if they're trying to boot themselves back up again, inevitably one of 2 things happen: either hsr is completely frozen and I just have to force close and reopen all my apps or everything is completely frozen and I have to force shut down my pc to get it all working again.

I've double checked everything, the only noticeable problem I see in my hardware is that my CPU spikes up to 100%. My gpu, ram, network and storage all stay within normal levels of temps and usage, CPU temp has also stayed normal and doesn't slowly increase, if the temp suddenly spikes during this I wouldn't know because my temp tracker also shuts down.

This has only been happening in star rail, I can run other games at max settings just fine, even cpu intensive games like the total war series or paradox games are no problem for me. Normally I run hsr on max but ever since this has happened I've tried lowering them all the way down to medium to no avail and given that it's a cpu spike issue I don't see how lowering the graphics would help.

I've tried checking what error codes occur whenever this happens and it returns this one:
Exception code: 0xc00001ad
However updating my drivers (even doing a clean install) hasn't fixed anything. For reference when I'm playing I have Opera open with around 7-10 tabs, spotify, discord and the riot client open.

I use a ryzen 7 5800x, nvidia 3060ti, 32 gigabytes of ram and use an ssd for the game. I run on windows 11 23H2