Game Thread Takes Way Too Much Time

I’ve come across a very weird issue with the VR project I’m working on. I get extreme FPS drops when the headset is at certain angles. The thing is, the angle seems to change every time I launch the project. I tried to make sense of it in the profiler, but haven’t gotten far. Seems I have a lot of "CPU Stall - Wait For Event"s.

The first two spikes winded down as soon as I looked away in VR, but the one at the end persisted for a bit longer. All these were triggered by having the headset at roughly the same angle and there isn’t anything demanding in that direction. Besides, the “angle of doom” changes every time I launch the project anyway. The entire scene is static with nothing moving around.

The profiling file is available at:

Any ideas as to why this is happening?

did you solve this?

In my case it was vrdashboard.exe taking up a lot of resources whenever I ran my project. See if you can spot something similar in the Task Manager.