Your comments

I've also noted that the custom shader ignores the setting in render settings. If I switch the ambient source between color or Skybox the shader is not updated.