Cube material is briefly blue

Hello!

I am having a cube material problem in my racing game. Nothing is wrong if I just enter play mode in the scene, but if I get to the scene (level) from a menu or from another level, the cube material is blue for a brief moment before changing to the right one.

Why does this happen?

Attach this to your cube.
Also reference http://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html

function Awake () {DontDestroyOnLoad (transform.gameObject);	}