Build in standard terrain shader not working properly

Build in standard terrain shader not working properly on standalone Mac build. It does not happen inside unity editor.

Objects under terrain visible over terrain

Global fog, Ambient Occlusion for faraway places are visible everywhere in terrain

Perhaps you are suffering from this problem? Check the log for the “unable to find shaders” message.