Strange line and culling errors? (can't identify properly the source of the issue) ["solved"]

Hi,

I encounter an error that is quite strange.
I get weird lines drawn on my cube faces… Those " lines" move with the orientation we look at the cube from.

Here are 3 examples:

http://puu.sh/k253m/c2da3a3230.jpg

http://puu.sh/k25bD/e8844b89b7.jpg

http://puu.sh/k25eX/4696523f6a.jpg

I have absolutely no idea of the reason that is causing those “lines”.

There is also another problem with the culling? (I guess?). Here are 3 screens showing what happens:

http://puu.sh/k25nZ/533a35913d.jpg

http://puu.sh/k25qy/fdf8108bb3.jpg

As you can see, for some reason my meshes are getting “eaten”.
I am searching for a little bit for the reasons but found no solution so far. :confused:

That looks like the shadow bias for your light is too low. If you are using a movable directional light check if the bias is too close to 0. Your other problem is not an occlusion culling problem, it looks more like z fighting or an aliasing problem due to low resolution or duplicated faces in your geometry (its not clear in the screenshots). Have you tried to see if this happens when using immersive mode? (press F11 while in editor).

Thanks for your answer. :slight_smile:

The shadow bias is at 0.5, the default value, I tried increasing to 1 without any result.
As for the lighting, it is coming from different point lights which are very far away in the world.

I tried the Immersive mode on your recommendation but it did not show any difference.
In fact, the further away I go from the blocks, the more the issue shows.

Here is what is happening when I get a away more progressively. I will post the image links directly so that you can see it in a better way:

http://puu.sh/k2eMZ/01cb85ebde.jpg

http://puu.sh/k2eMZ/01cb85ebde.jpg

http://puu.sh/k2eTV/2ab92565bf.jpg

http://puu.sh/k2eTV/2ab92565bf.jpg

http://puu.sh/k2f3B/77bbcfd52a.jpg

http://puu.sh/k2f3B/77bbcfd52a.jpg

http://puu.sh/k2fyD/bbc3bbd820.jpg

http://puu.sh/k2fyD/bbc3bbd820.jpg

You can see this sort of toothed line at the back of the cube. It is moving up and down when I move forward/backward and corresponds to the sort of lines seen in the first screenshots up there.

I don’t think that resolution is the issue either as I just tried it with Immersive without any more results.
I also tried with the three types of AA available without noticing any difference.

Update (already yes):

Seems like it happens in editor without being in play mode too:

http://puu.sh/k2gfP/07dede61a5.jpg

http://puu.sh/k2gfP/07dede61a5.jpg

Alright…

I found a way to “fix” it.

I just did end up in replacing all my config file at the exception of the DefaultInput one and it now seems to be gone. I could not say what caused it though.

Good to now you found a solution.