I've recently been experimenting with the game engine and coming from exclusively using cycles there are a few things that I am trying to get used to. The most annoying of which I find is that when I run the game it uses the same shading as the viewport. This doesn't make sense to me since I am used to rendering being totally independent of viewport settings.
So, as I usually use solid shading in the viewport, if I want to see my materials I have to remember to switch to material viewport shading mode before hitting P. Is there a way to have it automatically switch the shading mode to material when I run the game and back to solid (or whatever else it was) when I Esc. out?