No lights enabled on the scene but the game view is brightly lit

It’s as you can see on the image, the light are disabled but the game view is lit instead of being completely dark.

Not so long ago, no lights on the scene meant that the scene and game views were completely dark, and it was perfect! no longer alas! Now the only light I can set up correctly is the spot, the others are unusable.

I suspect the fake light that was newly added to the scene view to contaminate the game view. Any solution about how to get rid of that light would be welcome, script, anything. And no, clicking on the bulb in the scene view is not the solution.

My wild guess would be on the default “skybox” reflection probe. Check Lighting Settings window; maybe a default skybox probe got baked there. You can setup the material used for the default reflection probe there, or disable the default probe.

4 Likes

Thanks for your help @Aras ; I took a look but nothing changed after I removed the skybox wherever it was in the lighting settings.

But, I just found out that the lights on the scene must have their intensity set to 0, and not be disabled, so that the scene becomes completely dark. In that case, toggling on and off the bulb on the scene view works.

A bit weird if you ask me but once you know… :slight_smile:

4 Likes

Thank you, it works for me. But if I remove the Light 2D component ( and no any light source exists on the scene), all those sprite-lit-default gameobjects become visible again. So I am confused: do I have to put a light source on every scene?

Removing a light or disabling it is the same thing. In that case a default light kicks in in the scene view so that you can see what you are doing.
If you play the scene without any light source, everything should be dark in the game view so, to answer your question, yes, lights must be added to every scene.

Well, my situation is a bit different (I am using 2022.3.4f1c1). I find that If there isn’t any light source on the scene view, all those sprite-lit-default objects are both visible on scene view and game view (yes, they are even visible on the game view, without light source). And once I add any light source (spot light, for example)on the scene, everything go dark instantly in the game view except the light.

I’m not sure if this is just my situation or if everyone is the same:(

1 Like