Scene view navigation with WASD very laggy

I’m having a very strange lag when navigating in the scene viewport using the WASD/QE keys, there is also a very big (relatively) delay when you are moving to the left (using A key) and suddenly switches to the right, the camera stops for a moment then starts moving, it is also stuttering a lot when moving around. I started a new scene and only created a cube in it, deleted the light but seems like this issue has nothing to do to any of this, I also maximized the scene viewport and decreased the unity editor window sized and tested to see if it had something to do with the resolution but the issue persisted, switching to the fastest settings on the quality settings also changed nothing and switching the rendering path to forward also didn’t had any effect.
What could it be? This behavior is annoying me for a long time now…

Edit: when you enter play mode the issue is no more, but when you exit the play mode the issue comes back.

Edit 2: When I was going to record the issue in fraps the issue stopped while the fraps was recording, it looks like fraps was forcing unity to render the fps that was setup in fraps (29.97), but when I stopped recording the fps showing for the scene view was around 1-14. It is like unity is refusing to update the scene view even though I am holding the right mouse button over it.

Edit 3: Restarting the editor ceases the issue (still with some stutters but not a big deal), changing the layout scheme makes the issue come back.

Just upgraded to Unity 5.2.4; this issue is also happening to me and I cannot seem to resolve it. Even in a freshly created project, the stuttering persists. While being on play mode, the problem dissapears. Well, in short, the exact same thing is happening to me.

Hope someone finds a way to solve this!

Edit: Umm, for some reason, activating Animated materials on the scene view fixes the stuttering and jumping, but it still lags a little. Activating fog, skybox and flares also seems to help a little… Weird?

3 Likes

Yes, the exactly same thing happens here! The more the editor needs to updates itself the lag decreases I think…

“Scene view navigation with WASD very laggy”

yes switching keys is laggy, though if you just hold them down its fine, let go and go in another direction or even the same direction again, and it lags initially, also it doesn’t carry the speed momentum from before which is good and bad, depending on the camera speed you left off at… i get so annoyed with the hardcoded built in speed, where everything starts off slow, but hold down the movement key for a few seconds movement speed gradually increases and increases… that should be adjustable for the kind of scene scaling you are going with.

I wouldn’t mind if there some effing control over it, but the unity option screen is devoid of bloody options for a lot things.

oh and mousewheel zooming in editor… it seems to control the editor camera clipping planes aswel but you would never know it

1 Like

Even going in a single direction like, holding W for example, it stutters a bit, the camera does not “flies” straight without stuttering, at least here, this is just a matter of letting the scene view updates every frame whenever the right mouse button is being held I think.

Did you end up working out a fix for this Rodolfo? I am having the same issue, it seems to be the worst when i have Visual Studio open at the same time (which is generally most of the time!) If i close that down then it smooths out mostly, and i dont get the huge leaps in camera position when i change the direction key.

Hey @lemDace , I’m still having this issue, and I’m afraid there is no fix for this, at least not for us users. :frowning:

Happens to me too, and I only have a plane and a 6k tris char on it.

I hope they manage to fix it.

I’m using Unity 5.3.2. The WASD movement in scene/editor view is extremely laggy, causing uncontrollably massive stuttering up to 1 to 3 to 5 seconds at a time.

Navigating with the maya (alt+mouse click) controls work fine with no stuttering.

Please, tell me how one is able to use WASD keys to navigate in Scene View. O_o That feature doesn’t exist with me, and I’m forced to use the Arrow Keys.

Keep the right mouse button pressed then you can use WASD in the scene view.

Hmm. Thanks. I’ll try that now.

Interesting. thanks! :smile: I do see an error with the A. Sometimes it’s not working as I’m holding it, but nothing to do with it lagging. Just let go and press it again. I’ll use this a little more and see what I can find.

I was having this issue and toggling the scene lighting off/on (the little sun button in the scene tab) made it disappear for now. The issue seems to be reported here: Unity Issue Tracker - Scene View Navigation Delays

I nearly turned into a raging lunatic when Unity lagged using WASD. I have a high end PC carrying a Titan X etc etc and the issue was horrible. I kept switching between Unity and UE4 to see if it was maybe a shader updater failure on my gpu…

I tried what you guys suggested (enabling fog, skybox etc)… problem solved! No more lag at all :slight_smile:

So thanks for the quick fix :smile:

This didn’t solve my issue, still lagging as hell, it seems like each version it gets worst. Now is lagging in panning, and orbiting.

[SOLVED FOR ME] The issue for me was Animated Materials in the Skybox/Fog/etc button at the top of the scene view, as mentioned in post #2.

This needs to be fixed. Clearly Animated Materials forces some kind of constant update to the scene view that WASD isn’t providing, hence why wiggling the mouse with RMB held also updated the view and smoothed it out.

It must be a year without a fix for this so far, and I only just noticed that others had figured this out.

4 Likes

I have seen Unity having serious problems with updating it’s windows often enough. I thought our game was lagging out like crazy, but Unity reported a very high framerate. Turned out that most of the frames were simply not being rendered in the editor. This only happened with a dual monitor setup.

What fixed it for me was switching the graphics API from DirectX to one of the OpenGL ones. Can’t remember which. This was a while ago, and the problem has mostly gone away, but I’d suggest trying it to see if it helps in any way.

I’m not seeing lag in the 5.4.0b16, this is the second time I launch this version of the editor and everything seems ok!

edit: Still stuttering in 5.4.0b18

This has been frustrating me for months now and hopefully Rodolfo Rubens report means a fix is incoming but I have a temporary fix/workaround for anyone that is annoyed by this.

Workaround/Fix
Open a webpage that has something constantly running and leave it playing in the background. For example a youtube video but I typically have bloomberg.com running. As long as it’s not minimised you can leave it behind your unity window and the contant ticking of that pages update appears to keep the sceneview refreshing properly and the stuttering camera is fixed.

It’s silly, but it works.

2 Likes

Actually, still stuttering. @mark_cb solution works here though.