Floors and ceiling lit in Editor, not in build.

I am working on a level where I have many point lights doing the bulk of the lighting in a scene. The lights work fine lighting everything in the editor, but once I build the game and play it the floors and ceiling are no longer lit in the build.

Things I have tried:

  • Changing the floor’s material
  • Changing the floor’s shader
  • Changing the floor’s layer
  • Creating a new Cube Game Object, copying the transform information and building a completely new floor.

As you can see in the first picture, everything else still gets lit, including walls and objects. I have run out of ideas.

Thanks for your help.

Your 2 screenshots are the same. Are you using the same quality setting in the editor and build? I.E Fantastic.

Thanks. I fixed the links (pasted some link twice). And yes, I'm using the same quality settings.

Tried switching forward/deferred?

Unity Free - no deferred.

Did you use light maps?

1 Answer

1

Fixed. All point lights that I want to light the floor should have their Render Mode set to “Important”

And I ran into this problem before in a different project, so I should have known better.