Unity project becomes invisible when activating directional light Oo.

Hi there,

I was working on my project when I imported a new 3d asset, setup it’s import size and applied modifications. I then moved the mesh around and Unity 4 crashed (Note: It was a simple low polly mesh, re importing it after the crash didn’t cause any issue)

Once unity restarted the entire map seems to have vanished although in wire-frame we do see everything present (see picture1 : on left wire-frame, on right textured view).

I then found out that disabling the real time directional light fixes the bug. If I put a new or activate my old real time directional light I get the issue again.
Secondly I notice if I create a new point or spot light I see these grey geometries (see picture2).

If I activate the directional lights and build the project, everything looks and works fine.

My project is quite large, my guess is I reached a limitation from the editor somewhere?

I use Unity 4f7, am in linear color space, use 15 4K lightmaps and have 2 real time directional lights.
I have have an ATI HD6990 and run on windows 7 64. Was not using DirectX11 though switching to it doesn’t fix the issue.

Please help :slight_smile:

I notice when I finish building, going back to editor and deactivating the real time lights don’t show the scene anymore. I have to restart unity, and only then deactivate the real time light to see the scene again.
Note: sometimes if I boot unity I still have the issue, I have to activate/diactivate the light, quit unity, start unity and deactivate the light to see the level back.

I was just starting to work on shaders >< , no real time lights = impossible to work :frowning:

Sad panda

Edit:
I found one reason why the level vanishes:
Have a look at picture2, the grey shape is an area where the rendering bug happens.
Imo, if you use directional light the grey shape actually fills in the entire screen, as a result the entire level vanishes. If I place a point light and go inside it’s radius I get the same effect as activating the real time directional light.

I don’t know how to reproduce and how to get rid of this situation. ><
Opening an older version of my project fixes the issue but I worked a lot on it today and perhaps it’ll happen again? … :frowning:

Haaaalp!