Lighting doesn't work when game runs.

I have no clue what the issue is. Whenever I try to run my game in the engine it just doesn’t enable shadows. I have tried to “Bake” the whole scene but it keeps giving me the “Nothing to Bake, None of the mesh in the scene are marked as static.”

I’m using a directional light and only

Also motion blur, sun shafts, ambient obscurance, and fast bloom is turned on. (these might not matter)

How do I enable shaders?

I had no shadows for awhile. my problem was fixed by clicking on the terrain and changing the texture/shaders on the ground object itself.

something to try if you haven’t already and your still on diffuse.
there is also a couple settings in the mesh component of your terrain object to receive shadows.

For baking the shadows you may have to mark all the models for which are non movable(which doesn’t have animations. Because if you keep static for animated objects it wont animate) objects as static then only the lighmapping recognizes to bake the shadows.
For dynamic shadows for directional lights you may have to check “enable shadows” options in “quality settings”.