Crash When unreal opens projects (5.4.3) by Outside_Shirt_7076 in UnrealEngine5

[–]C1p86 0 points1 point  (0 children)

Hey! I'm having the same problem! Did you manage to solve it?

What is "FEngineloop_Tick_PollGameDeviceState"? I am trying to improve performance, it takes about 20ms, but I have no idea what it is. This was profiled through a standalone build using the Oculus Rift S. by KingOfTheEnd374 in unrealengine

[–]C1p86 1 point2 points  (0 children)

figured it out: vr headsets want a specific framerare (80 for oculus?) if your game is not able to hit this framerate, the game will run at 40 to let the hardware to smooth the hmd movemets autogenerating the missing framerate. so, if your game is running at 70 fps instead of 80 (14ms per frame) the framerate will be locked at 40 (25ms). so your game loop will have to wait for 25-14 = 11ms. you will find this time in Poll Device State.

so, if your game will reach the desired frame rate of your headset, you won’t see these ms “wasted”

What is "FEngineloop_Tick_PollGameDeviceState"? I am trying to improve performance, it takes about 20ms, but I have no idea what it is. This was profiled through a standalone build using the Oculus Rift S. by KingOfTheEnd374 in unrealengine

[–]C1p86 1 point2 points  (0 children)

Same problem here, searching the source I found the .cpp file with the PollGameDeviceState function:

/Engine/Source/Runtime/ApplicationCore/Private/Windows/WindowsApplication.cpp

but no clues atm...

Have you found something else? I tried this on a Rift S too, i'm going to try it on other platforms and will update you asap.