Now this is driving me crazy.
When I play the game in the editor or view the scene, my terrain is receiving shadows from dynamic objects and trees that I have painted on it. However, when I do a build (Standalone for Mac and standalone for windows) and run that build, my terrain does not receive any shadows at all. The light is still casting shadows between other dynamic stuff, but the terrain will not receive any shadows at all.
Weirdly the trees on the terrain ARE casting shadows onto my character when I go near the trees, however the terrain has no shadows.
Im using one realtime directional light, not baking any shadows (realtime only) and realtime GI. When I run the build I am usng fantastic settings, so I know it isnt a shadow length/pixel light limit. Im using defered rendering as well.
I would understand this if it happened in the editor and build, but only the build? Running on the same computer? Surely its running the same rendering code in both?
This has only started happening in Unity 5.