I just started using Unreal Engine for the first time a few weeks ago and recently the whole engine, whether I’m selecting Actors, grabbing something out of the content drawer, or running the game in the window gets really laggy.
I have a fantastic computer and never lag on any application, but since I was new to Unreal Engine, I just googled how to fix lag, because maybe it’s just a really heavy application or something.
Well, while watching tutorial videos on how to profile and fix lag and yada yada yada, I noticed something, if there is a video on my second monitor PLAYING, ALL lag goes away, for the whole engine, AND while playing the game. It is only when I PAUSE THE VIDEO, does the lag come back for all aspects of the engine.
I don’t know how to represent engine lag here, but I can include the “Stat Unit” Values I get during each scenario (watching a video in background, not watching video in background).
while VIDEO IS PLAYING in google chrome on second monitor:
Frame: 10.61ms
Game: 10.60ms
Draw: .5ms
GPU: 5.05ms
RHIT: 2.84ms
DynRes: Unsupported
Draws: 400
Prims: 44.3k
while VIDEO IS PAUSED in google chrome on second monitor (or just while nothing is playing, google chrome doesn’t necessarily have to be open, or any other application for that matter)
Frame: 50.36ms
Game: 9.8ms
Draw: .12ms
GPU: 5.4ms
RHIT: 16.77ms
DynRes: Unsupported
Draws: 400
Prims: 44.3k
Any help with this would be greatly appreciated, I’ve never posted on any forum with any question, but this question is extremely specific and also kind of inverse of what should happen, so I’m hoping to find some help here. Thanks!
EDIT:
Upon further investigation, I noticed I get that nice performance in unreal engine and high frame rates when priority is given to ANYTHING BUT unreal engine, for instance, if I press the windows key on my keyboard, I instantly start getting great frames again, of course until I click back into unreal engine and it goes back to being bad. But it seems that the chrome youtube video KEEPS the priority OFF of unreal engine, therefor giving me great frames and great performance whenever a video is playing.
ALSO
Not sure if this helps, but it gets worse as time goes on:
First 5 minutes of Unreal Engine being open:
Frame (Unfocused): 10ms
Frame (Focused): 10ms
After 10 minutes of unreal engine being open, even if I don’t do anything:
Frame (Unfocused): 10ms
Frame (Focused): 20ms
After 20 minutes of unreal engine being open, even if I don’t do anything:
Frame (Unfocused): 10ms
Frame (Focused): 30ms
And so on and so forth until it caps out at about 50-60ms after about 45 minutes