Ue4 lag when detaching window

Whenever I use Ue4 in one window it works perfectly, no lag whatsoever. The problem happens when I want to move some of the windows, such as modes, over to my second screen. When I do this the engine will lag massively to the point where when I try to move the camera it takes a few seconds to respond; but if I snap back the modes window into the main one Ue4 will no longer lag.

specs:

  • 2.70 gigahertz Intel Core i7-5700HQ
  • NVIDIA GeForce GTX 970M
  • Intel(R) HD Graphics 5600
  • 16Gb Ram

Hey Xerofuzzion,

So from what you describe you are saying that when you detach a window, such as modes, in your viewport, you try and move your camera and it lags. If you move the modes window back then there is no longer a lag. Is this correct?

yes that is correct.

So, what you are seeing is expected behavior when you have another window somewhere else that is independent of the editor window.

Slate is a completely custom and platform agnostic user interface framework that is designed to make building the user interfaces for tools and applications, such as Unreal Editor, or in-game user interfaces fun and efficient. It combines a declarative syntax with the ability to easily design, layout, and style components that allows for easily creating and iterating on UIs.

When you detach a window it acts as a satellite of the main framework. This will call a slight drop in FPS because now your computer is calling where the window is, what it belongs to, it’s function, and etc. You will also see a slight FPS drop if you have other windows up or are playing music and the like.

However, this does not explain the massive drop in frames that you are seeing. In order to understand this better I would like to get a little more information about your project.

1.) What is the scope of your project? Is this a minimal default sized level or a more intense project like the “Infiltrator Demo?”

2.) Does this occur in a clean blank project or only in the current one?

3.) Does this happen in either 4.8 or 4.10 preview?

After I have this information I will be able to narrow down this issue and determine whether this is project specific or an issue with the editor itself.

Sorry I didn’t respond

  • This is happening on a blank project, It does happen on 4.8 and 4.10 preview. I believe this is not the editor because I tried it out on Unity, and the same issue happens when I detach a satellite window.

edit: This also now happens for me on both windows 8.1 and 10

Ok, if you are seeing this across things such as Unity and UE4 and multiple versions of windows I believe the issue lies with your Intel(R) HD Graphics 5600. The other issue is that the GTX 970M is listed as being developed for notebooks. If you are developing on a notebook this could also cause issue. As we are unable to reproduce this issue on our end and you are having this issue in Unity and different version of windows I believe the issue lies within the hardware you are currently developing on.

I can still develop on unreal but I am limited to only one window, on one window I don’t lag and unreal runs extremely smooth. It really just bugs me that I can’t utilize my attached monitors to help with my development.
Something else I noticed is that the lag only really becomes noticeable when I move the satellite window to another monitor, if the two windows are on the same monitor the lag is minimal.