Lightmapping Issues

I’m making my own custom game level and I’m having issues with the lighting.

As you can see the light is going through the wall as it is not there at all.

This is what happens when I try to bake the lighting.

Is there a way in Unity I can create UVs that can be properly lighted/baked? Or do I have to create a separate UV set in Maya for my complex base?

SOLVED.

I changed the import options in the inspector:

  1. First, check Generate Lightmap UVs
  2. Second, check Swap UVs

Important: Make sure to do this in the exact order or else you will bake the wrong set of UVs.