cancel
Showing results for 
Search instead for 
Did you mean: 

Unity-Terrain causing stutter (d3d11)

jomou
Honored Guest
Hey there,

so I created a small isle using a Unity-Terrain object and Unity Water4Example (Advanced). Nothing to fancy, but I noticed some annoying stuttering issues most noticeable in the Terrain texture and the horizon. My frame rate was at stable 75fps. After hours of testing and reading in the Forums I finally figured that the Terrain was causing all that trouble.

I just rebuild the base of my isle in my favorite 3D-App and disabled the Terrain. Everything works perfectly fine now.

Is that a known issue? Maybe its system specific, but I thought it might be interesting for some of you experiencing that stuttering (lagging behind).
10 REPLIES 10

molton
Explorer
sounds like a problem I had when I hat the near clip plane values set too low on the cameras. Did you adjust those values at all?

jomou
Honored Guest
Nope. I didn't change any controller settings, everything is at default... strange.

vrdaveb
Oculus Staff
It's always a good idea to analyze your app's performance with the Unity profiler. Stuttering like this usually happens when the game spends too much time rendering or executing scripts and the profiler will show you what is causing the slowdown.

yasdawasda
Honored Guest
Having this exact same problem. The oculus menu is showing a solid 75fps, but the terrain is stuttering quite badly. It's only when my camera is moving inside the game, and when my head is looking around. If either of these aren't happening, no stutter.

Removing the terrain fixes it.

yasdawasda
Honored Guest
After some more fiddling the stutter has gone away and I don't know why - I'm using the same terrain as before. So no idea what the culprit was.

pjenness
Rising Star
I'm curious..if it happens again, can you test moving the camcer via head with oculus, vs via mouse

I noticed numerous times that if I look around with oculus I get juddering, but doing the same with mouse is smooth.

SO its the tracking that is lagging not the game engine itself.

-P

yasdawasda
Honored Guest
"pjenness" wrote:
I'm curious..if it happens again, can you test moving the camcer via head with oculus, vs via mouse

I noticed numerous times that if I look around with oculus I get juddering, but doing the same with mouse is smooth.

SO its the tracking that is lagging not the game engine itself.

-P


This sounds spot on, it was only noticeable when moving my head. It's possible that you notice it more with head movements as opposed to mouse movements... but I'm pretty sure I would still have noticed it. It definitely felt like it was the tracking.

pjenness
Rising Star
"yasdawasda" wrote:
"pjenness" wrote:
I'm curious..if it happens again, can you test moving the camcer via head with oculus, vs via mouse

I noticed numerous times that if I look around with oculus I get juddering, but doing the same with mouse is smooth.

SO its the tracking that is lagging not the game engine itself.

-P


This sounds spot on, it was only noticeable when moving my head. It's possible that you notice it more with head movements as opposed to mouse movements... but I'm pretty sure I would still have noticed it. It definitely felt like it was the tracking.


Ok kool, there are a few threads about this issue now...looks liek it could be a certain Unity build.

I get the same in Windlands also

yasdawasda
Honored Guest
I might actually be able to get some footage inside the headset using a high framerate camera. The stutter doesn't feel like stutter from a low fps, it's like the tracking jumps back to how it was a split second ago. I'll have a go...