Not sure if this is the best place to ask for help on this, so if you have somewhere better, please drop a link.
I've just built a new Windows PC and run into a very interesting problem which, as far as I can tell, only appears in Unity games: Once in a while, maybe every couple hours (but not on the dot), the game semi-freezes for about 2 minutes, then starts working normally.
Semi-freeze:
This is game-dependent, but in some games, the entire game is unresponsive (Heaven Burns Red, Persona 5 the Phantom X), and in others, the UI is generally still functional, but some things (animations, game loop) don't progress (Rogue Trader). Audio thread seems to keep playing just fine.
My guess is that there's some system resource which Unity games use in their game loop which is getting locked by...something...which eventually times out and releases the lock, but I have no idea if that's a thing or what it could be, so I thought I'd ask.
Things I've checked:
sfc / dism restorehealth
Temperatures and utilization don't seem to change
Things I've noticed:
At the end of the freeze, wlidsvc errors and some system service which I think is wlidsvc starts (I see a system login from a service). Disabling wlidsvc doesn't stop the freezing.
PC specs:
9950x
64gb RAM
9060xt 16gb gfx card